public class ZippedArchive extends Object implements Archive
| Constructor and Description |
|---|
ZippedArchive(File file) |
ZippedArchive(ZipFile zipFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
exists(String name) |
Optional<InputStream> |
tryGetInputStream(String name) |
public ZippedArchive(ZipFile zipFile)
public ZippedArchive(File file) throws IOException
IOExceptionpublic Optional<InputStream> tryGetInputStream(String name) throws IOException
tryGetInputStream in interface ArchiveIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018. All rights reserved.