|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.index.util.zip.AbstractZipHandle org.apache.maven.index.util.zip.TrueZipZipFileHandle
public class TrueZipZipFileHandle
Constructor Summary | |
---|---|
TrueZipZipFileHandle(File targetFile)
|
Method Summary | |
---|---|
void |
close()
Closes the zip handle (performs resource cleanup). |
List<String> |
getEntries()
Returns a list of string, with each string representing a valid path for existing entry in this Zip handle. |
List<String> |
getEntries(EntryNameFilter filter)
Returns a list of string, with each string representing a valid path for existing entry in this Zip handle. |
InputStream |
getEntryContent(String path)
Returns the "payload" (uncompressed) of the entry at given path, or null if no such path exists in the Zip file this handle points to. |
protected de.schlichtherle.truezip.zip.ZipFile |
getZipFile()
|
boolean |
hasEntry(String path)
Returns true if Zip file this handle is pointing to contains an entry at given path. |
Methods inherited from class org.apache.maven.index.util.zip.AbstractZipHandle |
---|
getTargetFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TrueZipZipFileHandle(File targetFile) throws IOException
IOException
Method Detail |
---|
protected de.schlichtherle.truezip.zip.ZipFile getZipFile()
public boolean hasEntry(String path) throws IOException
ZipHandle
hasEntry
in interface ZipHandle
IOException
public List<String> getEntries()
ZipHandle
getEntries
in interface ZipHandle
public List<String> getEntries(EntryNameFilter filter)
ZipHandle
getEntries
in interface ZipHandle
public InputStream getEntryContent(String path) throws IOException
ZipHandle
getEntryContent
in interface ZipHandle
IOException
public void close() throws IOException
ZipHandle
close
in interface ZipHandle
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |