| Modifier and Type | Field and Description |
|---|---|
| private FileTime | |
| private long | |
| private long | |
| private Iterable | |
| private long | |
| private FileTime | |
| pack-priv static final SevenZArchiveEntry[] | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private FileTime | |
| private String | |
| private long | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object
the reference object with which to compare. obj)Overrides java. |
| private boolean | equalSevenZMethods(final Iterable<? extends SevenZMethodConfiguration> c1, final Iterable<? extends SevenZMethodConfiguration> c2)
|
| public Date | |
| public FileTime | |
| pack-priv int | Returns: the compressed CRC
Deprecated
Use
Gets the compressed CRC.
getCompressedCrcValue() instead.
|
| pack-priv long | |
| pack-priv long | Returns: This entry's compressed file size.Gets this entry's compressed file size. |
| public Iterable | Returns: the methods to use for the contentGets the (compression) methods to use for entry's content - the default is LZMA2. |
| public int | |
| public long | |
| public Date | |
| public FileTime | |
| public boolean | Returns: whether this entry has got an access date at all.Gets whether this entry has got an access date at all. |
| public boolean | |
| public boolean | Returns: whether the entry has got a creation dateGets whether this entry has got a creation date at all. |
| public boolean | Returns: whether this entry has got a last modified date at allGets whether this entry has got a last modified date at all. |
| public boolean | Returns: whether this entry has windows attributes.Gets whether this entry has windows attributes. |
| public Date | Returns: the last modified dateImplements org. |
| public FileTime | |
| public String | Returns: This entry's name.Implements org. |
| public long | Returns: This entry's file size.Implements org. |
| public int | |
| public int | |
| public boolean | Returns: whether there is any content associated with this entry.Tests whether there is any content associated with this entry. |
| public boolean | Returns: true if it is an anti-item, false otherwiseTests whether this is an "anti-item" used in differential backups, meaning it should delete the same file from a previous backup. |
| public boolean | Returns: True if this entry is a directory.Implements org. |
| public static long | Returns: the NTFS timethe Java time date)
Deprecated
Use
Converts Java time to NTFS time.
FileTimes#toNtfsTime(Date) instead.
|
| public static Date | Returns: the Java timethe NTFS time in 100 nanosecond units ntfsTime)
Deprecated
Use
Converts NTFS time (100 nanosecond units since 1 January 1601) to Java time.
FileTimes#ntfsTimeToDate(long) instead.
|
| public void | |
| public void | setAccessDate(final long
the access date ntfsAccessDate)Sets the access date using NTFS time (100 nanosecond units since 1 January 1601) |
| public void | |
| public void | setAntiItem(final boolean
true if it is an anti-item, false otherwise isAntiItem)Sets whether this is an "anti-item" used in differential backups, meaning it should delete the same file from a previous backup. |
| pack-priv void | setCompressedCrc(final int
the CRC crc)
Deprecated
use setCompressedCrcValue instead.
Sets the compressed CRC.
|
| pack-priv void | |
| pack-priv void | setCompressedSize(final long
This entry's new compressed file size. size)Sets this entry's compressed file size. |
| public void | setContentMethods(final Iterable<? extends SevenZMethodConfiguration>
the methods to use for the content methods)Sets the (compression) methods to use for entry's content - the default is LZMA2. |
| public void | setContentMethods(final SevenZMethodConfiguration...
the methods to use for the content methods)Sets the (compression) methods to use for entry's content - the default is LZMA2. |
| public void | |
| public void | |
| public void | |
| public void | setCreationDate(final long
the creation date ntfsCreationDate)Sets the creation date using NTFS time (100 nanosecond units since 1 January 1601) |
| public void | |
| public void | setDirectory(final boolean
True if this entry is a directory. isDirectory)Sets whether or not this entry represents a directory. |
| public void | setHasAccessDate(final boolean
whether this entry has got an access date at all. hasAcessDate)Sets whether this entry has got an access date at all. |
| public void | setHasCrc(final boolean
whether this entry has got a crc. hasCrc)Sets whether this entry has got a crc. |
| public void | setHasCreationDate(final boolean
whether the entry has got a creation date hasCreationDate)Sets whether this entry has got a creation date at all. |
| public void | setHasLastModifiedDate(final boolean
whether this entry has got a last modified date at all hasLastModifiedDate)Sets whether this entry has got a last modified date at all. |
| public void | setHasStream(final boolean
whether there is any content associated with this entry. hasStream)Sets whether there is any content associated with this entry. |
| public void | setHasWindowsAttributes(final boolean
whether this entry has windows attributes. hasWindowsAttributes)Sets whether this entry has windows attributes. |
| public void | setLastModifiedDate(final Date
the new last modified date lastModifiedDate)Sets the last modified date. |
| public void | setLastModifiedDate(final long
the last modified date ntfsLastModifiedDate)Sets the last modified date using NTFS time (100 nanosecond units since 1 January 1601) |
| public void | |
| public void | |
| public void | |
| public void |
| accessDate | back to summary |
|---|---|
| private FileTime accessDate | |
| compressedCrc | back to summary |
|---|---|
| private long compressedCrc | |
| compressedSize | back to summary |
|---|---|
| private long compressedSize | |
| contentMethods | back to summary |
|---|---|
| private Iterable<? extends SevenZMethodConfiguration> contentMethods | |
| crc | back to summary |
|---|---|
| private long crc | |
| creationDate | back to summary |
|---|---|
| private FileTime creationDate | |
| EMPTY_SEVEN_Z_ARCHIVE_ENTRY_ARRAY | back to summary |
|---|---|
| pack-priv static final SevenZArchiveEntry[] EMPTY_SEVEN_Z_ARCHIVE_ENTRY_ARRAY | |
| hasAccessDate | back to summary |
|---|---|
| private boolean hasAccessDate | |
| hasCrc | back to summary |
|---|---|
| private boolean hasCrc | |
| hasCreationDate | back to summary |
|---|---|
| private boolean hasCreationDate | |
| hasLastModifiedDate | back to summary |
|---|---|
| private boolean hasLastModifiedDate | |
| hasStream | back to summary |
|---|---|
| private boolean hasStream | |
| hasWindowsAttributes | back to summary |
|---|---|
| private boolean hasWindowsAttributes | |
| isAntiItem | back to summary |
|---|---|
| private boolean isAntiItem | |
| isDirectory | back to summary |
|---|---|
| private boolean isDirectory | |
| lastModifiedDate | back to summary |
|---|---|
| private FileTime lastModifiedDate | |
| name | back to summary |
|---|---|
| private String name | |
| size | back to summary |
|---|---|
| private long size | |
| windowsAttributes | back to summary |
|---|---|
| private int windowsAttributes | |
| SevenZArchiveEntry | back to summary |
|---|---|
| public SevenZArchiveEntry() Constructs a new instance. | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| equalSevenZMethods | back to summary |
|---|---|
| private boolean equalSevenZMethods(final Iterable<? extends SevenZMethodConfiguration> c1, final Iterable<? extends SevenZMethodConfiguration> c2) | |
| getAccessDate | back to summary |
|---|---|
| public Date getAccessDate() Gets the access date. This is equivalent to
| |
| getAccessTime | back to summary |
|---|---|
| public FileTime getAccessTime() Gets the access time.
| |
| getCompressedCrc | back to summary |
|---|---|
| pack-priv int getCompressedCrc()
Deprecated Use Gets the compressed CRC.
| |
| getCompressedCrcValue | back to summary |
|---|---|
| pack-priv long getCompressedCrcValue() Gets the compressed CRC.
| |
| getCompressedSize | back to summary |
|---|---|
| pack-priv long getCompressedSize() Gets this entry's compressed file size.
| |
| getContentMethods | back to summary |
|---|---|
| public Iterable Gets the (compression) methods to use for entry's content - the default is LZMA2.
Currently only The methods will be consulted in iteration order to create the final output.
| |
| getCrc | back to summary |
|---|---|
| public int getCrc()
Deprecated use getCrcValue instead. Gets the CRC.
| |
| getCrcValue | back to summary |
|---|---|
| public long getCrcValue() Gets the CRC.
| |
| getCreationDate | back to summary |
|---|---|
| public Date getCreationDate() Gets the creation date. This is equivalent to
| |
| getCreationTime | back to summary |
|---|---|
| public FileTime getCreationTime() Gets the creation time.
| |
| getHasAccessDate | back to summary |
|---|---|
| public boolean getHasAccessDate() Gets whether this entry has got an access date at all.
| |
| getHasCrc | back to summary |
|---|---|
| public boolean getHasCrc() Gets whether this entry has got a crc. In general entries without streams don't have a CRC either.
| |
| getHasCreationDate | back to summary |
|---|---|
| public boolean getHasCreationDate() Gets whether this entry has got a creation date at all.
| |
| getHasLastModifiedDate | back to summary |
|---|---|
| public boolean getHasLastModifiedDate() Gets whether this entry has got a last modified date at all.
| |
| getHasWindowsAttributes | back to summary |
|---|---|
| public boolean getHasWindowsAttributes() Gets whether this entry has windows attributes.
| |
| getLastModifiedDate | back to summary |
|---|---|
| public Date getLastModifiedDate() Implements org. Gets the last modified date. This is equivalent to
| |
| getLastModifiedTime | back to summary |
|---|---|
| public FileTime getLastModifiedTime() Gets the last modified time.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Gets this entry's name. This method returns the raw name as it is stored inside of the archive. | |
| getSize | back to summary |
|---|---|
| public long getSize() Implements org. Gets this entry's file size.
| |
| getWindowsAttributes | back to summary |
|---|---|
| public int getWindowsAttributes() Gets the windows attributes.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasStream | back to summary |
|---|---|
| public boolean hasStream() Tests whether there is any content associated with this entry.
| |
| isAntiItem | back to summary |
|---|---|
| public boolean isAntiItem() Tests whether this is an "anti-item" used in differential backups, meaning it should delete the same file from a previous backup.
| |
| isDirectory | back to summary |
|---|---|
| public boolean isDirectory() Implements org. Tests whether or not this entry represents a directory.
| |
| javaTimeToNtfsTime | back to summary |
|---|---|
| public static long javaTimeToNtfsTime(final Date date)
Deprecated Use Converts Java time to NTFS time.
| |
| ntfsTimeToJavaTime | back to summary |
|---|---|
| public static Date ntfsTimeToJavaTime(final long ntfsTime)
Deprecated Use Converts NTFS time (100 nanosecond units since 1 January 1601) to Java time.
| |
| setAccessDate | back to summary |
|---|---|
| public void setAccessDate(final Date accessDate) Sets the access date.
| |
| setAccessDate | back to summary |
|---|---|
| public void setAccessDate(final long ntfsAccessDate) Sets the access date using NTFS time (100 nanosecond units since 1 January 1601)
| |
| setAccessTime | back to summary |
|---|---|
| public void setAccessTime(final FileTime time) Sets the access time.
| |
| setAntiItem | back to summary |
|---|---|
| public void setAntiItem(final boolean isAntiItem) Sets whether this is an "anti-item" used in differential backups, meaning it should delete the same file from a previous backup.
| |
| setCompressedCrc | back to summary |
|---|---|
| pack-priv void setCompressedCrc(final int crc)
Deprecated use setCompressedCrcValue instead. Sets the compressed CRC.
| |
| setCompressedCrcValue | back to summary |
|---|---|
| pack-priv void setCompressedCrcValue(final long crc) Sets the compressed CRC.
| |
| setCompressedSize | back to summary |
|---|---|
| pack-priv void setCompressedSize(final long size) Sets this entry's compressed file size.
| |
| setContentMethods | back to summary |
|---|---|
| public void setContentMethods(final Iterable<? extends SevenZMethodConfiguration> methods) Sets the (compression) methods to use for entry's content - the default is LZMA2.
Currently only The methods will be consulted in iteration order to create the final output.
| |
| setContentMethods | back to summary |
|---|---|
| public void setContentMethods(final SevenZMethodConfiguration... methods) Sets the (compression) methods to use for entry's content - the default is LZMA2.
Currently only The methods will be consulted in iteration order to create the final output.
| |
| setCrc | back to summary |
|---|---|
| public void setCrc(final int crc)
Deprecated use setCrcValue instead. Sets the CRC.
| |
| setCrcValue | back to summary |
|---|---|
| public void setCrcValue(final long crc) Sets the CRC.
| |
| setCreationDate | back to summary |
|---|---|
| public void setCreationDate(final Date creationDate) Sets the creation date.
| |
| setCreationDate | back to summary |
|---|---|
| public void setCreationDate(final long ntfsCreationDate) Sets the creation date using NTFS time (100 nanosecond units since 1 January 1601)
| |
| setCreationTime | back to summary |
|---|---|
| public void setCreationTime(final FileTime time) Sets the creation time.
| |
| setDirectory | back to summary |
|---|---|
| public void setDirectory(final boolean isDirectory) Sets whether or not this entry represents a directory.
| |
| setHasAccessDate | back to summary |
|---|---|
| public void setHasAccessDate(final boolean hasAcessDate) Sets whether this entry has got an access date at all.
| |
| setHasCrc | back to summary |
|---|---|
| public void setHasCrc(final boolean hasCrc) Sets whether this entry has got a crc.
| |
| setHasCreationDate | back to summary |
|---|---|
| public void setHasCreationDate(final boolean hasCreationDate) Sets whether this entry has got a creation date at all.
| |
| setHasLastModifiedDate | back to summary |
|---|---|
| public void setHasLastModifiedDate(final boolean hasLastModifiedDate) Sets whether this entry has got a last modified date at all.
| |
| setHasStream | back to summary |
|---|---|
| public void setHasStream(final boolean hasStream) Sets whether there is any content associated with this entry.
| |
| setHasWindowsAttributes | back to summary |
|---|---|
| public void setHasWindowsAttributes(final boolean hasWindowsAttributes) Sets whether this entry has windows attributes.
| |
| setLastModifiedDate | back to summary |
|---|---|
| public void setLastModifiedDate(final Date lastModifiedDate) Sets the last modified date.
| |
| setLastModifiedDate | back to summary |
|---|---|
| public void setLastModifiedDate(final long ntfsLastModifiedDate) Sets the last modified date using NTFS time (100 nanosecond units since 1 January 1601)
| |
| setLastModifiedTime | back to summary |
|---|---|
| public void setLastModifiedTime(final FileTime time) Sets the last modified time.
| |
| setName | back to summary |
|---|---|
| public void setName(final String name) Sets this entry's name.
| |
| setSize | back to summary |
|---|---|
| public void setSize(final long size) Sets this entry's file size.
| |
| setWindowsAttributes | back to summary |
|---|---|
| public void setWindowsAttributes(final int windowsAttributes) Sets the windows attributes.
| |