Package org.zeroturnaround.zip
Interface ZipEntrySource
-
- All Known Implementing Classes:
ByteSource
,FileSource
public interface ZipEntrySource
ZIP entry with its contents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.zip.ZipEntry
getEntry()
java.io.InputStream
getInputStream()
java.lang.String
getPath()
-
-
-
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
null
if this entry is a directory. - Throws:
java.io.IOException
- can throw getting the InputStream
-
-