@Deprecated public final class ZipFileInfo extends MetadataContainer implements IMetadataProperty
Represents metadata associated with an archived file or directory.
Modifier and Type | Method and Description |
---|---|
long |
getCompressedSize()
Deprecated.
Gets the compressed size in bytes.
|
int |
getCompressionMethod()
Deprecated.
Gets the compression method.
|
int |
getFlags()
Deprecated.
Gets the ZIP entry flags.
|
String |
getFormattedValue()
Deprecated.
|
Date |
getModificationDateTime()
Deprecated.
Gets the last modification date time.
|
String |
getName()
Deprecated.
|
byte[] |
getRawName()
Deprecated.
Gets an array of bytes representing the name of the entry.
|
long |
getUncompressedSize()
Deprecated.
Gets the uncompressed size in bytes.
|
void |
setName(String value)
Deprecated.
|
getByType, getKeys, getMetadataType, iterator, readByStringKey
public final int getCompressionMethod()
Gets the compression method.
public final long getCompressedSize()
Gets the compressed size in bytes.
public final long getUncompressedSize()
Gets the uncompressed size in bytes.
public final int getFlags()
Gets the ZIP entry flags.
Bit 00: encrypted file. <br></br>
Bit 01: compression option. <br></br>
Bit 02: compression option. <br></br>
Bit 03: data descriptor. <br></br>
Bit 04: enhanced deflation. <br></br>
Bit 05: compressed patched data. <br></br>
Bit 06: strong encryption. <br></br>
Bit 07-10: unused. <br></br>
Bit 11: language encoding. <br></br>
Bit 12: reserved. <br></br>
Bit 13: mask header values. <br></br>
Bit 14-15: reserved. <br></br>
@Deprecated public final String getName()
Gets the entry name.
getName
in interface IMetadataProperty
@Deprecated public final void setName(String value)
Sets the entry name.
setName
in interface IMetadataProperty
value
- The entry name. It can be a file or directory name.public final byte[] getRawName()
Gets an array of bytes representing the name of the entry.
public final Date getModificationDateTime()
Gets the last modification date time.
@Deprecated public final String getFormattedValue()
Gets the formatted value.
getFormattedValue
in interface IMetadataProperty
Copyright © 2020. All rights reserved.