org.grinvin.io
Class ZipFileSectionLoader
java.lang.Object
org.grinvin.io.ZipFileSectionLoader
- SectionLoader
public class ZipFileSectionLoader
extends java.lang.Object
Section loader which loads sections from zip files.
InputStream | openSection(String name) - Open the section with the given name and return an input stream
for that section.
|
ZipFileSectionLoader
public ZipFileSectionLoader(ZipFile zip)
Construct a section
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