public class GzipParameters extends Object
| Constructor and Description |
|---|
GzipParameters()
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComment()
|
int |
getCompressionLevel()
|
String |
getFilename()
|
long |
getModificationTime()
|
int |
getOperatingSystem()
|
void |
setComment(String
|
void |
setCompressionLevel(int compressionLevel)
Sets the compression level.
|
void |
setFilename(String
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 milliseconds
public StringgetFilename()
public void setFilename(Stringfilename)
filename - the name of the file without the directory path
public StringgetComment()
public void setComment(Stringcomment)
public int getOperatingSystem()
public void setOperatingSystem(int operatingSystem)
operatingSystem - the code of the operating system