org.grinvin.io
Class ZipInputStreamSectionLoader
java.lang.Object
org.grinvin.io.ZipInputStreamSectionLoader
- SectionLoader
public class ZipInputStreamSectionLoader
extends java.lang.Object
Loads sections from a ZipInputStream
. Note that each section
on the input strean can be accessed at most once.
InputStream | openSection(String name) - Open the section with the given name and return an input stream
for that section.
|
ZipInputStreamSectionLoader
public ZipInputStreamSectionLoader(ZipInputStream in)
Default constructor.
openSection
public InputStream openSection(String name)
throws IOException
Open the section with the given name and return an input stream
for that section. Return null
when no section with this
name exists.
- openSection in interface SectionLoader