org.apache.sling.jcr.contentloader.internal.readers
Class ZipReader
java.lang.Object
org.apache.sling.jcr.contentloader.internal.readers.ZipReader
- All Implemented Interfaces:
- ContentReader
public class ZipReader
- extends Object
- implements ContentReader
The ZipReader
TODO
- Since:
- 2.0.4
Constructor Summary |
ZipReader(boolean jarReader)
Is this a jar reader? |
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZIP_PROVIDER
public static final ImportProvider ZIP_PROVIDER
JAR_PROVIDER
public static final ImportProvider JAR_PROVIDER
ZipReader
public ZipReader(boolean jarReader)
- Is this a jar reader?
parse
public void parse(URL url,
ContentCreator creator)
throws IOException,
javax.jcr.RepositoryException
- Description copied from interface:
ContentReader
- Read the content from the URL and create the
content using the provided content creator.
- Specified by:
parse
in interface ContentReader
- Parameters:
url
- The input stream.
- Throws:
IOException
javax.jcr.RepositoryException
- See Also:
ContentReader.parse(java.net.URL, org.apache.sling.jcr.contentloader.internal.ContentCreator)
parse
public void parse(InputStream ins,
ContentCreator creator)
throws IOException,
javax.jcr.RepositoryException
- Description copied from interface:
ContentReader
- Read the content from the input stream and create the
content using the provided content creator.
- Specified by:
parse
in interface ContentReader
- Parameters:
ins
- the input stream.
- Throws:
IOException
javax.jcr.RepositoryException
- See Also:
ContentReader.parse(java.io.InputStream, org.apache.sling.jcr.contentloader.internal.ContentCreator)
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.