GzipCompressorInputStream, GzipCompressorOutputStream
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private String | |
| private int | |
| private int | |
| private String | |
| private long | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The size of the buffer used to retrieve compressed data.Gets size of the buffer used to retrieve compressed data. |
| public String | |
| public int | |
| public int | Returns: the deflater strategy,Deflater#DEFAULT_STRATEGY by default.Gets the deflater strategy. |
| public String | |
| public String | |
| public long | |
| public int | |
| public void | setBufferSize(final int
the bufferSize to set. Must be a positive value. bufferSize)Sets size of the buffer used to retrieve compressed data from |
| public void | |
| public void | setCompressionLevel(final int
the compression level (between 0 and 9) compressionLevel)Sets the compression level. |
| public void | setDeflateStrategy(final int
the new compression strategy deflateStrategy)Sets the deflater strategy. |
| public void | setFilename(final String
the name of the file without the directory path fileName)
Deprecated
Use
Sets the name of the compressed file.
setFileName(String).
|
| public void | setFileName(final String
the name of the file without the directory path fileName)Sets the name of the compressed file. |
| public void | setModificationTime(final long
the modification time, in milliseconds modificationTime)Sets the modification time of the compressed file. |
| public void | setOperatingSystem(final int
the code of the operating system operatingSystem)Sets the operating system on which the compression took place. |
| bufferSize | back to summary |
|---|---|
| private int bufferSize | |
| comment | back to summary |
|---|---|
| private String comment | |
| compressionLevel | back to summary |
|---|---|
| private int compressionLevel | |
| deflateStrategy | back to summary |
|---|---|
| private int deflateStrategy | |
| fileName | back to summary |
|---|---|
| private String fileName | |
| modificationTime | back to summary |
|---|---|
| private long modificationTime | |
| operatingSystem | back to summary |
|---|---|
| private int operatingSystem | |
| GzipParameters | back to summary |
|---|---|
| public GzipParameters() | |
| getBufferSize | back to summary |
|---|---|
| public int getBufferSize() Gets size of the buffer used to retrieve compressed data.
| |
| getComment | back to summary |
|---|---|
| public String getComment() | |
| getCompressionLevel | back to summary |
|---|---|
| public int getCompressionLevel() | |
| getDeflateStrategy | back to summary |
|---|---|
| public int getDeflateStrategy() Gets the deflater strategy.
| |
| getFilename | back to summary |
|---|---|
| public String getFilename()
Deprecated Use Gets the file name.
| |
| getFileName | back to summary |
|---|---|
| public String getFileName() Gets the file name.
| |
| getModificationTime | back to summary |
|---|---|
| public long getModificationTime() | |
| getOperatingSystem | back to summary |
|---|---|
| public int getOperatingSystem() | |
| setBufferSize | back to summary |
|---|---|
| public void setBufferSize(final int bufferSize) Sets size of the buffer used to retrieve compressed data from
| |
| setComment | back to summary |
|---|---|
| public void setComment(final String comment) | |
| setCompressionLevel | back to summary |
|---|---|
| public void setCompressionLevel(final int compressionLevel) Sets the compression level.
| |
| setDeflateStrategy | back to summary |
|---|---|
| public void setDeflateStrategy(final int deflateStrategy) Sets the deflater strategy.
| |
| setFilename | back to summary |
|---|---|
| public void setFilename(final String fileName)
Deprecated Use Sets the name of the compressed file.
| |
| setFileName | back to summary |
|---|---|
| public void setFileName(final String fileName) Sets the name of the compressed file.
| |
| setModificationTime | back to summary |
|---|---|
| public void setModificationTime(final long modificationTime) Sets the modification time of the compressed file.
| |
| setOperatingSystem | back to summary |
|---|---|
| public void setOperatingSystem(final int operatingSystem) Sets the operating system on which the compression took place. The defined values are:
| |