- All Known Implementing Classes:
Zipper
public interface ZipModel
The Interface ZipModel.
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the fieldcompressionMethod
.Returns the fielddirectoryToZip
.Returns the fielddirToStart
.int
Returns the fieldfileCounter
.Returns the fieldfileFilter
.long
Returns the fieldfileLength
.Returns the fieldzipFile
.Returns the fieldzipFileComment
.Returns the fieldzipFileName
.Returns the fieldzipFileObj
.int
Returns the fieldzipLevel
.void
setCompressionMethod
(int compressionMethod) Sets the fieldcompressionMethod
.void
setDirectoryToZip
(File directoryToZip) Sets the fielddirectoryToZip
.void
setDirToStart
(String dirToStart) Sets the fielddirToStart
.void
setFileCounter
(int fileCounter) Sets the fieldfileCounter
.void
setFileFilter
(FilenameFilter fileFilter) Sets the fieldfileFilter
.void
setFileLength
(long fileLength) Sets the fieldfileLength
.void
setZipFile
(File zipFile) Sets the fieldzipFile
.void
setZipFileComment
(String zipFileComment) Sets the fieldzipFileComment
.void
setZipFileName
(String zipFileName) Sets the fieldzipFileName
.void
setZipFileObj
(ZipFile zipFileObj) Sets the fieldzipFileObj
.void
setZipLevel
(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
- ThecompressionMethod
to set
-
getDirectoryToZip
File getDirectoryToZip()Returns the fielddirectoryToZip
.- Returns:
- The field
directoryToZip
.
-
setDirectoryToZip
Sets the fielddirectoryToZip
.- Parameters:
directoryToZip
- ThedirectoryToZip
to set
-
getDirToStart
String getDirToStart()Returns the fielddirToStart
.- Returns:
- The field
dirToStart
.
-
setDirToStart
Sets the fielddirToStart
.- Parameters:
dirToStart
- ThedirToStart
to set
-
getFileCounter
int getFileCounter()Returns the fieldfileCounter
.- Returns:
- The field
fileCounter
.
-
setFileCounter
void setFileCounter(int fileCounter) Sets the fieldfileCounter
.- Parameters:
fileCounter
- ThefileCounter
to set
-
getFileFilter
FilenameFilter getFileFilter()Returns the fieldfileFilter
.- Returns:
- The field
fileFilter
.
-
setFileFilter
Sets the fieldfileFilter
.- Parameters:
fileFilter
- ThefileFilter
to set
-
getFileLength
long getFileLength()Returns the fieldfileLength
.- Returns:
- The field
fileLength
.
-
setFileLength
void setFileLength(long fileLength) Sets the fieldfileLength
.- Parameters:
fileLength
- ThefileLength
to set
-
getZipFile
File getZipFile()Returns the fieldzipFile
.- Returns:
- The field
zipFile
.
-
setZipFile
Sets the fieldzipFile
.- Parameters:
zipFile
- ThezipFile
to set
-
getZipFileComment
String getZipFileComment()Returns the fieldzipFileComment
.- Returns:
- The field
zipFileComment
.
-
setZipFileComment
Sets the fieldzipFileComment
.- Parameters:
zipFileComment
- ThezipFileComment
to set
-
getZipFileName
String getZipFileName()Returns the fieldzipFileName
.- Returns:
- The field
zipFileName
.
-
setZipFileName
Sets the fieldzipFileName
.- Parameters:
zipFileName
- ThezipFileName
to set
-
getZipFileObj
ZipFile getZipFileObj()Returns the fieldzipFileObj
.- Returns:
- The field
zipFileObj
.
-
setZipFileObj
Sets the fieldzipFileObj
.- Parameters:
zipFileObj
- ThezipFileObj
to set
-
getZipLevel
int getZipLevel()Returns the fieldzipLevel
.- Returns:
- The field
zipLevel
.
-
setZipLevel
void setZipLevel(int zipLevel) Sets the fieldzipLevel
.- Parameters:
zipLevel
- ThezipLevel
to set
-