|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.mff.ksi.jinfer.iss.experiments.data.InputFile
public class InputFile
Class representing an file being used as an input in an experiment.
Constructor Summary | |
---|---|
InputFile(File file)
Partial constructor. |
|
InputFile(File file,
FileCharacteristics characteristics)
Full constructor. |
|
InputFile(String file)
Partial constructor. |
|
InputFile(String file,
FileCharacteristics characteristics)
Full constructor. |
Method Summary | |
---|---|
FileCharacteristics |
getCharacteristics()
Returns the general characteristic of this file. |
File |
getFile()
Returns the object representing this file. |
String |
getName()
Returns the name (no path, see File.getName() ) of this file. |
long |
getSize()
Returns the size of this input file in bytes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InputFile(String file, FileCharacteristics characteristics)
file
- String representing the file name.characteristics
- General characteristic of the file.public InputFile(File file, FileCharacteristics characteristics)
file
- Object representing the file itself.characteristics
- General characteristic of the file.public InputFile(String file)
FileCharacteristics.UNKNOWN
).
file
- String representing the file name.public InputFile(File file)
FileCharacteristics.UNKNOWN
).
file
- Object representing the file itself.Method Detail |
---|
public File getFile()
public FileCharacteristics getCharacteristics()
public String getName()
File.getName()
) of this file.
public long getSize()
|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |