com.myJava.file
Class CompressionArguments

java.lang.Object
  extended by com.myJava.file.CompressionArguments
All Implemented Interfaces:
Duplicable

public class CompressionArguments
extends java.lang.Object
implements Duplicable


Author:
Olivier PETRUCCI

Areca Build ID : 7299034069467778562

Field Summary
protected  boolean addExtension
           
protected  java.nio.charset.Charset charset
           
protected  java.lang.String comment
           
protected  boolean isCompressed
           
protected  int level
           
protected  int nbDigits
           
protected  boolean useZip64
           
protected  long volumeSize
           
static java.lang.String ZIP_SUFFIX
           
 
Constructor Summary
CompressionArguments()
           
 
Method Summary
 Duplicable duplicate()
          Create a copy of the Duplicable
 boolean equals(java.lang.Object o)
           
 java.nio.charset.Charset getCharset()
           
 java.lang.String getComment()
           
 int getLevel()
           
 int getNbDigits()
           
 long getVolumeSize()
           
 int hashCode()
           
 boolean isAddExtension()
           
 boolean isCompressed()
           
 boolean isMultiVolumes()
           
 boolean isUseZip64()
           
 void setAddExtension(boolean addExtension)
           
 void setCharset(java.nio.charset.Charset charset)
           
 void setComment(java.lang.String comment)
           
 void setCompressed(boolean isCompressed)
           
 void setLevel(int level)
           
 void setMultiVolumes(long volumeSize, int nbDigits)
           
 void setUseZip64(boolean useZip64)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ZIP_SUFFIX

public static final java.lang.String ZIP_SUFFIX
See Also:
Constant Field Values

isCompressed

protected boolean isCompressed

volumeSize

protected long volumeSize

nbDigits

protected int nbDigits

charset

protected java.nio.charset.Charset charset

comment

protected java.lang.String comment

useZip64

protected boolean useZip64

addExtension

protected boolean addExtension

level

protected int level
Constructor Detail

CompressionArguments

public CompressionArguments()
Method Detail

getLevel

public int getLevel()

setLevel

public void setLevel(int level)

getCharset

public java.nio.charset.Charset getCharset()

isCompressed

public boolean isCompressed()

isAddExtension

public boolean isAddExtension()

setAddExtension

public void setAddExtension(boolean addExtension)

setCompressed

public void setCompressed(boolean isCompressed)

getNbDigits

public int getNbDigits()

setCharset

public void setCharset(java.nio.charset.Charset charset)

getComment

public java.lang.String getComment()

setComment

public void setComment(java.lang.String comment)

isUseZip64

public boolean isUseZip64()

setUseZip64

public void setUseZip64(boolean useZip64)

getVolumeSize

public long getVolumeSize()

setMultiVolumes

public void setMultiVolumes(long volumeSize,
                            int nbDigits)

isMultiVolumes

public boolean isMultiVolumes()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

duplicate

public Duplicable duplicate()
Description copied from interface: Duplicable
Create a copy of the Duplicable

Specified by:
duplicate in interface Duplicable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object