1 package tim.prune.data;
4 * Class to hold the information about the file(s)
5 * from which the data was loaded from / saved to
9 private String _filename = null;
10 private int _numFiles = 0;
14 * Set the file information to the specified file
15 * @param inFilename filename of file
17 public void setFile(String inFilename)
19 _filename = inFilename;
25 * Add a file to the data
36 public void removeFile()
43 * @return the number of files loaded
45 public int getNumFiles()
52 * @return The filename, if a single file
54 public String getFilename()
56 if (_numFiles == 1 && _filename != null)