public class ZipReader extends Object implements ContentReader
ZipReader
TODOPROPERTY_EXTENSIONS, PROPERTY_TYPES
Constructor and Description |
---|
ZipReader() |
Modifier and Type | Method and Description |
---|---|
void |
parse(InputStream ins,
ContentCreator creator)
Read the content from the input stream and create the
content using the provided content creator.
|
void |
parse(URL url,
ContentCreator creator)
Read the content from the URL and create the
content using the provided content creator.
|
public void parse(URL url, ContentCreator creator) throws IOException, javax.jcr.RepositoryException
ContentReader
parse
in interface ContentReader
url
- The input stream.IOException
javax.jcr.RepositoryException
ContentReader.parse(java.net.URL, org.apache.sling.jcr.contentloader.ContentCreator)
public void parse(InputStream ins, ContentCreator creator) throws IOException, javax.jcr.RepositoryException
ContentReader
parse
in interface ContentReader
ins
- the input stream.IOException
javax.jcr.RepositoryException
ContentReader.parse(java.io.InputStream, org.apache.sling.jcr.contentloader.ContentCreator)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.