|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Entry
An entry in the repository.
| Method Summary | |
|---|---|
FileSystem |
getFileSystem()
Returns the repository that this entry belongs to. |
long |
getLastModified()
Returns the time that this entry was last modified. |
String |
getName()
Returns the name of this entry. |
DirectoryEntry |
getParent()
Returns the parent of this entry (or null if there is no parent, that is the root entry). |
String |
toPath()
Returns the path of this entry relative to the root of the filesystem. |
| Method Detail |
|---|
FileSystem getFileSystem()
DirectoryEntry getParent()
null if there is no parent, that is the root entry).
null if there is no parent, that is the root entry).String getName()
long getLastModified()
throws IOException
DirectoryEntrys may
delegate to FileSystem.getLastModified(DirectoryEntry).
long value representing the time the directory was
last modified, measured in milliseconds since the epoch
(00:00:00 GMT, January 1, 1970), or 0L if the
the time is unknown.
IOException - if an I/O error occurs.String toPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||