public class GzipParameters
extends java.lang.Object
Constructor and Description |
---|
GzipParameters() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment() |
int |
getCompressionLevel() |
java.lang.String |
getFilename() |
long |
getModificationTime() |
int |
getOperatingSystem() |
void |
setComment(java.lang.String comment) |
void |
setCompressionLevel(int compressionLevel)
Sets the compression level.
|
void |
setFilename(java.lang.String filename)
Sets the name of the compressed file.
|
void |
setModificationTime(long modificationTime)
Sets the modification time of the compressed file.
|
void |
setOperatingSystem(int operatingSystem)
Sets the operating system on which the compression took place.
|
public int getCompressionLevel()
public void setCompressionLevel(int compressionLevel)
compressionLevel
- the compression level (between 0 and 9)Deflater.NO_COMPRESSION
,
Deflater.BEST_SPEED
,
Deflater.DEFAULT_COMPRESSION
,
Deflater.BEST_COMPRESSION
public long getModificationTime()
public void setModificationTime(long modificationTime)
modificationTime
- the modification time, in millisecondspublic java.lang.String getFilename()
public void setFilename(java.lang.String filename)
filename
- the name of the file without the directory pathpublic java.lang.String getComment()
public void setComment(java.lang.String comment)
public int getOperatingSystem()
public void setOperatingSystem(int operatingSystem)
operatingSystem
- the code of the operating system"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"