XarEntry
Inheritance: java.lang.Object
public abstract class XarEntry
Represents a single entry within xar archive.
Methods
| Method | Description |
|---|---|
| getCreationTime() | Gets the creation time of the file or directory. |
| getFullPath() | Gets the full path of the entry within the archive. |
| getLastAccessTime() | Gets the last access time of the file or directory. |
| getLastWriteTime() | Gets the modification time of the file or directory. |
| getModificationTime() | Gets the modification time of the file or directory. |
| getName() | Gets the name of the entry within the archive. |
| getParent() | Gets the parent directory the entry belongs to. |
| isDirectory() | Gets a value indicating whether the entry represents a directory. |
| toString() | Returns string representation of the instance of the XarEntry class. |
getCreationTime()
public final Date getCreationTime()
Gets the creation time of the file or directory.
Returns: java.util.Date - the creation time of the file or directory
getFullPath()
public final String getFullPath()
Gets the full path of the entry within the archive.
Returns: java.lang.String - the full path of the entry within the archive
getLastAccessTime()
public final Date getLastAccessTime()
Gets the last access time of the file or directory.
Returns: java.util.Date - the last access time of the file or directory
getLastWriteTime()
public final Date getLastWriteTime()
Gets the modification time of the file or directory.
Returns: java.util.Date - the modification time of the file or directory
getModificationTime()
public final Date getModificationTime()
Gets the modification time of the file or directory.
Returns: java.util.Date - the modification time of the file or directory
getName()
public final String getName()
Gets the name of the entry within the archive.
Returns: java.lang.String - the name of the entry within the archive
getParent()
public final XarDirectoryEntry getParent()
Gets the parent directory the entry belongs to.
Returns: XarDirectoryEntry - the parent directory the entry belongs to
isDirectory()
public final boolean isDirectory()
Gets a value indicating whether the entry represents a directory.
Returns: boolean - a value indicating whether the entry represents a directory
toString()
public String toString()
Returns string representation of the instance of the XarEntry class.
Returns: java.lang.String - string representation of this object