Class ZipCreator
java.lang.Object
com.bencodez.advancedcore.api.backup.ZipCreator
The Class Report.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllFiles(File dir, List<File> fileList) Adds the all files.voidaddToZip(File file, ZipOutputStream zos) Adds the to zip.voidvoidCreates the.static ZipCreatorGets the single instance of Report.
-
Field Details
-
plugin
The plugin.
-
-
Method Details
-
getInstance
Gets the single instance of Report.- Returns:
- single instance of Report
-
addAllFiles
Adds the all files.- Parameters:
dir- the dirfileList- the file list
-
addToZip
Adds the to zip.- Parameters:
file- the filezos- the zos- Throws:
FileNotFoundException- the file not found exceptionIOException- Signals that an I/O exception has occurred.
-
create
-
createReport
public void createReport()Creates the.
-