java.lang.Object
io.github.astrapi69.file.zip.Unzipper
The class
Unzipper
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Unzipper.UnzipperBuilder
builder()
void
extractZipEntry
(ZipFile zipFile, ZipEntry target, File toDirectory) Extract zip entry.getToDir()
void
void
setZipFile
(ZipFile zipFile) toString()
void
unzip()
Unzip.void
Unzip.
-
Constructor Details
-
Unzipper
public Unzipper() -
Unzipper
-
Unzipper
Instantiates a new unzipper.- Parameters:
zipFile
- the zip filetoDir
- the to dir
-
-
Method Details
-
builder
-
extractZipEntry
Extract zip entry.- Parameters:
zipFile
- the zip filetarget
- the targettoDirectory
- the to directory- Throws:
IOException
- Signals that an I/O exception has occurred.
-
getToDir
-
setToDir
-
getZipFile
-
setZipFile
-
toBuilder
-
toString
-
unzip
Unzip.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
unzip
Unzip.- Parameters:
zipFile
- the zip filetoDir
- the to dir- Throws:
IOException
- Signals that an I/O exception has occurred.
-