|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--at.ac.tuwien.infosys.rnue.helpers.search.FileImpl
The FileImpl class represents a filename and its size. It provides a constructor which sets the required parameters and methods to retrieve them.
Constructor Summary | |
FileImpl(java.lang.String relativePathAndName,
java.lang.String name,
long size)
Constructs an new FileImpl object. |
Method Summary | |
java.lang.String |
getFileName()
Returns the filename. |
java.lang.String |
getFilePathAndName()
Returns the relative path and the filename. |
long |
getFileSize()
Returns the size of the file. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileImpl(java.lang.String relativePathAndName, java.lang.String name, long size)
size
- size of the file.Method Detail |
public java.lang.String getFileName()
getFileName
in interface IFile
public java.lang.String getFilePathAndName()
getFilePathAndName
in interface IFile
public long getFileSize()
getFileSize
in interface IFile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |