public class FoundFile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
entryName |
protected java.io.File |
file |
protected java.util.List<java.io.InputStream> |
openedInputStreams |
protected java.util.zip.ZipEntry |
zipEntry |
protected java.util.zip.ZipFile |
zipFile |
Constructor and Description |
---|
FoundFile(java.io.File file) |
FoundFile(java.lang.String archivePath,
java.lang.String entryName) |
FoundFile(java.util.zip.ZipFile file,
java.util.zip.ZipEntry entry) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
closeZipFile(java.util.List<java.lang.Exception> errs) |
java.io.File |
getFile() |
java.lang.String |
getFilePath() |
java.io.InputStream |
inputStream() |
boolean |
isZipFile() |
void |
silentClose() |
protected java.io.File file
protected java.lang.String entryName
protected java.util.zip.ZipFile zipFile
protected java.util.zip.ZipEntry zipEntry
protected java.util.List<java.io.InputStream> openedInputStreams
public FoundFile(java.util.zip.ZipFile file, java.util.zip.ZipEntry entry)
public FoundFile(java.lang.String archivePath, java.lang.String entryName)
public FoundFile(java.io.File file)
public java.lang.String getFilePath()
public boolean isZipFile()
public java.io.File getFile()
public java.io.InputStream inputStream()
public void silentClose()
public void close()
protected void closeZipFile(java.util.List<java.lang.Exception> errs)