Package org.zeroturnaround.zip
Interface ZipEntrySource
-
- All Known Implementing Classes:
ByteSource,FileSource
public interface ZipEntrySourceZIP entry with its contents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.zip.ZipEntrygetEntry()java.io.InputStreamgetInputStream()java.lang.StringgetPath()
-
-
-
Method Detail
-
getPath
java.lang.String getPath()
- Returns:
- path of the given entry (not
null).
-
getEntry
java.util.zip.ZipEntry getEntry()
- Returns:
- meta-data of the given entry (not
null).
-
getInputStream
java.io.InputStream getInputStream() throws java.io.IOException- Returns:
- an input stream of the given entry
or
nullif this entry is a directory. - Throws:
java.io.IOException- can throw getting the InputStream
-
-