public class ZipReader extends Object implements ContentReader
ZipReader TODO| Modifier and Type | Field and Description |
|---|---|
static ImportProvider |
JAR_PROVIDER |
static ImportProvider |
ZIP_PROVIDER |
| Constructor and Description |
|---|
ZipReader(boolean jarReader)
Is this a jar reader?
|
| 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 static final ImportProvider ZIP_PROVIDER
public static final ImportProvider JAR_PROVIDER
public void parse(URL url, ContentCreator creator) throws IOException, javax.jcr.RepositoryException
ContentReaderparse in interface ContentReaderurl - The input stream.IOExceptionjavax.jcr.RepositoryExceptionContentReader.parse(java.net.URL, org.apache.sling.jcr.contentloader.internal.ContentCreator)public void parse(InputStream ins, ContentCreator creator) throws IOException, javax.jcr.RepositoryException
ContentReaderparse in interface ContentReaderins - the input stream.IOExceptionjavax.jcr.RepositoryExceptionContentReader.parse(java.io.InputStream, org.apache.sling.jcr.contentloader.internal.ContentCreator)Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.