- All Known Implementing Classes:
Zipper
public interface ZipModel
The Interface ZipModel.
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the fieldcompressionMethod.Returns the fielddirectoryToZip.Returns the fielddirToStart.intReturns the fieldfileCounter.Returns the fieldfileFilter.longReturns the fieldfileLength.Returns the fieldzipFile.Returns the fieldzipFileComment.Returns the fieldzipFileName.Returns the fieldzipFileObj.intReturns the fieldzipLevel.voidsetCompressionMethod(int compressionMethod) Sets the fieldcompressionMethod.voidsetDirectoryToZip(File directoryToZip) Sets the fielddirectoryToZip.voidsetDirToStart(String dirToStart) Sets the fielddirToStart.voidsetFileCounter(int fileCounter) Sets the fieldfileCounter.voidsetFileFilter(FilenameFilter fileFilter) Sets the fieldfileFilter.voidsetFileLength(long fileLength) Sets the fieldfileLength.voidsetZipFile(File zipFile) Sets the fieldzipFile.voidsetZipFileComment(String zipFileComment) Sets the fieldzipFileComment.voidsetZipFileName(String zipFileName) Sets the fieldzipFileName.voidsetZipFileObj(ZipFile zipFileObj) Sets the fieldzipFileObj.voidsetZipLevel(int zipLevel) Sets the fieldzipLevel.
-
Method Details
-
getCompressionMethod
int getCompressionMethod()Returns the fieldcompressionMethod.- Returns:
- The field
compressionMethod.
-
setCompressionMethod
void setCompressionMethod(int compressionMethod) Sets the fieldcompressionMethod.- Parameters:
compressionMethod- ThecompressionMethodto set
-
getDirectoryToZip
File getDirectoryToZip()Returns the fielddirectoryToZip.- Returns:
- The field
directoryToZip.
-
setDirectoryToZip
Sets the fielddirectoryToZip.- Parameters:
directoryToZip- ThedirectoryToZipto set
-
getDirToStart
String getDirToStart()Returns the fielddirToStart.- Returns:
- The field
dirToStart.
-
setDirToStart
Sets the fielddirToStart.- Parameters:
dirToStart- ThedirToStartto set
-
getFileCounter
int getFileCounter()Returns the fieldfileCounter.- Returns:
- The field
fileCounter.
-
setFileCounter
void setFileCounter(int fileCounter) Sets the fieldfileCounter.- Parameters:
fileCounter- ThefileCounterto set
-
getFileFilter
FilenameFilter getFileFilter()Returns the fieldfileFilter.- Returns:
- The field
fileFilter.
-
setFileFilter
Sets the fieldfileFilter.- Parameters:
fileFilter- ThefileFilterto set
-
getFileLength
long getFileLength()Returns the fieldfileLength.- Returns:
- The field
fileLength.
-
setFileLength
void setFileLength(long fileLength) Sets the fieldfileLength.- Parameters:
fileLength- ThefileLengthto set
-
getZipFile
File getZipFile()Returns the fieldzipFile.- Returns:
- The field
zipFile.
-
setZipFile
Sets the fieldzipFile.- Parameters:
zipFile- ThezipFileto set
-
getZipFileComment
String getZipFileComment()Returns the fieldzipFileComment.- Returns:
- The field
zipFileComment.
-
setZipFileComment
Sets the fieldzipFileComment.- Parameters:
zipFileComment- ThezipFileCommentto set
-
getZipFileName
String getZipFileName()Returns the fieldzipFileName.- Returns:
- The field
zipFileName.
-
setZipFileName
Sets the fieldzipFileName.- Parameters:
zipFileName- ThezipFileNameto set
-
getZipFileObj
ZipFile getZipFileObj()Returns the fieldzipFileObj.- Returns:
- The field
zipFileObj.
-
setZipFileObj
Sets the fieldzipFileObj.- Parameters:
zipFileObj- ThezipFileObjto set
-
getZipLevel
int getZipLevel()Returns the fieldzipLevel.- Returns:
- The field
zipLevel.
-
setZipLevel
void setZipLevel(int zipLevel) Sets the fieldzipLevel.- Parameters:
zipLevel- ThezipLevelto set
-