WimEntry

Inheritance: java.lang.Object

public abstract class WimEntry

Represents single file or directory within wim image.

Methods

MethodDescription
getAlternateDataStreams()Gets the names of the alternate data streams for the file or directory.
getArchive()Gets the archive the entry belongs to.
getChangeTime()Gets the last time the file or directory was changed.
getCreationTime()Gets the creation time of the file or directory.
getFileAttributes()Gets the file or directory attributes.
getFullPath()Gets the full path of the entry within the image.
getHardLink()Gets the hardlink id of the file or directory.
getImage()Gets the image the entry belongs to.
getLastAccessTime()Gets the last access time of the file or directory.
getLastWriteTime()Gets the modification time of the file or directory.
getName()Gets the name of the entry within the image.
getParent()Gets the parent directory the entry belongs to.
getShortName()Gets the short name of the entry within the image.
hasHardLinks()Gets whether the file or directory is known by other names.
isDirectory()Gets a value indicating whether the entry represents a directory.
toString()Returns string representation of the instance of the WimEntry class.

getAlternateDataStreams()

public final String[] getAlternateDataStreams()

Gets the names of the alternate data streams for the file or directory.

Returns: java.lang.String[] - the names of the alternate data streams for the file or directory

getArchive()

public final WimArchive getArchive()

Gets the archive the entry belongs to.

Returns: WimArchive - the archive the entry belongs to

getChangeTime()

public final Date getChangeTime()

Gets the last time the file or directory was changed.

Returns: java.util.Date - the last time the file or directory was changed

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

getFileAttributes()

public final int getFileAttributes()

Gets the file or directory attributes.

Returns: int - the file or directory attributes

getFullPath()

public final String getFullPath()

Gets the full path of the entry within the image.

Returns: java.lang.String - the full path of the entry within the image

public final long getHardLink()

Gets the hardlink id of the file or directory.

Returns: long - the hardlink id of the file or directory

getImage()

public final WimImage getImage()

Gets the image the entry belongs to.

Returns: WimImage - the image the entry belongs to

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

getName()

public final String getName()

Gets the name of the entry within the image.

Returns: java.lang.String - the name of the entry within the image

getParent()

public final WimDirectoryEntry getParent()

Gets the parent directory the entry belongs to.

Returns: WimDirectoryEntry - the parent directory the entry belongs to

getShortName()

public final String getShortName()

Gets the short name of the entry within the image.

Returns: java.lang.String - the short name of the entry within the image

public final boolean hasHardLinks()

Gets whether the file or directory is known by other names.

Returns: boolean - whether the file or directory is known by other names

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 WimEntry class.

Returns: java.lang.String - string representation of this object