Package com.wavemaker.commons.zip
Interface DynamicZipInputStream.Entry
-
- Enclosing class:
- DynamicZipInputStream
public static interface DynamicZipInputStream.EntryRepresents a single entry from a ZIP files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.InputStreamgetInputStream()Opens a new stream that can be used to read the contents of the entry.java.lang.StringgetName()Returns the name of the entry complete with path, equivalent toZipEntry.getName().
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of the entry complete with path, equivalent toZipEntry.getName().- Returns:
- the name of the entry
-
getInputStream
java.io.InputStream getInputStream() throws java.io.IOExceptionOpens a new stream that can be used to read the contents of the entry. The steam will be closed by the caller.- Returns:
- the entry input stream
- Throws:
java.io.IOException
-
-