Package com.aspose.zip
Class XarEntry
- java.lang.Object
-
- com.aspose.zip.XarEntry
-
- Direct Known Subclasses:
XarDirectoryEntry,XarFileEntry
public abstract class XarEntry extends Object
Represents a single entry within xar archive.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DategetCreationTime()Gets the creation time of the file or directory.StringgetFullPath()Gets the full path of the entry within the archive.DategetLastAccessTime()Gets the last access time of the file or directory.DategetLastWriteTime()Deprecated.This method will be removed in a future release.DategetModificationTime()Gets the modification time of the file or directory.StringgetName()Gets the name of the entry within the archive.XarDirectoryEntrygetParent()Gets the parent directory the entry belongs to.booleanisDirectory()Gets a value indicating whether the entry represents a directory.StringtoString()Returns string representation of the instance of theXarEntryclass.
-
-
-
Method Detail
-
getName
public final String getName()
Gets the name of the entry within the archive.
- Returns:
- the name of the entry within the archive
-
getFullPath
public final String getFullPath()
Gets the full path of the entry within the archive.
- Returns:
- the full path of the entry within the archive
-
isDirectory
public final boolean isDirectory()
Gets a value indicating whether the entry represents a directory.
- Returns:
- a value indicating whether the entry represents a directory
-
getParent
public final XarDirectoryEntry getParent()
Gets the parent directory the entry belongs to.
- Returns:
- the parent directory the entry belongs to
-
getCreationTime
public final Date getCreationTime()
Gets the creation time of the file or directory.
- Returns:
- the creation time of the file or directory
-
getLastAccessTime
public final Date getLastAccessTime()
Gets the last access time of the file or directory.
- Returns:
- the last access time of the file or directory
-
getLastWriteTime
@Deprecated public final Date getLastWriteTime()
Deprecated.This method will be removed in a future release. Please use getModificationTime() instead.Gets the modification time of the file or directory.
- Returns:
- the modification time of the file or directory
-
getModificationTime
public final Date getModificationTime()
Gets the modification time of the file or directory.
- Returns:
- the modification time of the file or directory
-
-