public class ZipFileResource extends Object implements Closeable
<p>Represents a ZIP file resource.</p>
| Constructor and Description |
|---|
ZipFileResource(File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getPath() |
org.apache.commons.compress.archivers.zip.ZipFile |
getZipFile()
<p>Returns the underlying
ZIP file. |
String |
toString() |
public ZipFileResource(File file) throws IOException
IOExceptionpublic String getPath()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic org.apache.commons.compress.archivers.zip.ZipFile getZipFile()
<p>Returns the underlying ZIP file.</p>
Copyright © 2016–2021 jQAssistant Development Team. All rights reserved.