|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.aludratest.service.file.FileInfo
public class FileInfo
Provides elementary file information which might serve as filter criteria.
Constructor Summary | |
---|---|
FileInfo(org.apache.commons.vfs2.FileObject file)
Constructor |
Method Summary | |
---|---|
long |
getLastModifiedTime()
Provides the time stamp of the last file modification. |
String |
getName()
Provides the file name without path elements. |
String |
getPath()
Provides the path relative from the FileService 's root directory. |
long |
getSize()
Provides the size of the file. |
boolean |
isDirectory()
Tells if the file is a directory. |
String |
toString()
Provides the file name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileInfo(org.apache.commons.vfs2.FileObject file)
file
- the underlying FileObject
.Method Detail |
---|
public String getName()
public String getPath()
FileService
's root directory.
public boolean isDirectory()
public long getSize()
public long getLastModifiedTime()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |