public interface Entry extends Serializable
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()
/'.Copyright © 2009–2022 MojoHaus. All rights reserved.