public interface IZipFileSpecification extends IFileSpecification, Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this archive
|
Iterator<String> |
getEntries()
Returns an iterator to the names of all the entries in this zip file
|
InputStream |
getEntryStream(String name)
Creates a stream to a given entry within the SWC file
|
boolean |
hasEntry(String entryName)
Determines if the given entry exists within this archive
|
createReader, getLastModified, getPath, isOpenDocument
InputStream getEntryStream(String name) throws IOException
name
- the name of the entry we wantInputStream
or nullIOException
Iterator<String> getEntries()
Iterator
void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
IOException
boolean hasEntry(String entryName)
entryName
- the name of the entryCopyright © 2016 The Apache Software Foundation. All rights reserved.