Example usage for Java org.apache.commons.compress.archivers.tar TarArchiveEntry fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DEFAULT_DIR_MODE Default permissions bits for directories |
int | DEFAULT_FILE_MODE Default permissions bits for files |
TarArchiveEntry(String name, boolean preserveLeadingSlashes) Construct an entry with only a name. | |
TarArchiveEntry(String name, byte linkFlag) Construct an entry with a name and a link flag. | |
TarArchiveEntry(File file, String fileName) Construct an entry for a file. | |
TarArchiveEntry(String name) Construct an entry with only a name. | |
TarArchiveEntry(File file) Construct an entry for a file. | |
TarArchiveEntry(byte[] headerBuf) Construct an entry from an archive's header bytes. |
boolean | equals(TarArchiveEntry it) Determine if the two entries are equal. |
boolean | equals(Object it) Determine if the two entries are equal. |
TarArchiveEntry[] | getDirectoryEntries() If this entry represents a file, and the file is a directory, return an array of TarEntries for this entry's children. |
File | getFile() Get this entry's file. |
int | getGroupId() Get this entry's group id. |
String | getGroupName() Get this entry's group name. |
Date | getLastModifiedDate() |
String | getLinkName() Get this entry's link name. |
int | getMode() Get this entry's mode. |
Date | getModTime() Set this entry's modification time. |
String | getName() Get this entry's name. |
long | getSize() Get this entry's file size. |
int | getUserId() Get this entry's user id. |
String | getUserName() Get this entry's user name. |
int | hashCode() Hashcodes are based on entry names. |
boolean | isDirectory() Return whether or not this entry represents a directory. |
boolean | isFile() Check if this is a "normal file" |
boolean | isGlobalPaxHeader() Check if this is a Pax header. |
boolean | isLink() Check if this is a link entry. |
boolean | isSymbolicLink() Check if this is a symbolic link entry. |
void | setGroupId(int groupId) Set this entry's group id. |
void | setGroupName(String groupName) Set this entry's group name. |
void | setIds(int userId, int groupId) Convenience method to set this entry's group and user ids. |
void | setLinkName(String link) Set this entry's link name. |
void | setMode(int mode) Set the mode for this entry |
void | setModTime(long time) Set this entry's modification time. |
void | setModTime(Date time) Set this entry's modification time. |
void | setName(String name) Set this entry's name. |
void | setNames(String userName, String groupName) Convenience method to set this entry's group and user names. |
void | setSize(long size) Set this entry's file size. |
void | setUserId(int userId) Set this entry's user id. |
void | setUserName(String userName) Set this entry's user name. |