Class ZipReader
- java.lang.Object
-
- org.apache.sling.jcr.contentloader.internal.readers.ZipReader
-
- All Implemented Interfaces:
ContentReader
public class ZipReader extends Object implements ContentReader
TheZipReader
TODO- Since:
- 2.0.4
-
-
Field Summary
-
Fields inherited from interface org.apache.sling.jcr.contentloader.ContentReader
PROPERTY_EXTENSIONS, PROPERTY_TYPES
-
-
Constructor Summary
Constructors Constructor Description ZipReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
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 interfaceContentReader
- Parameters:
url
- The input stream.- Throws:
IOException
- If anything goes wrong.javax.jcr.RepositoryException
- See Also:
ContentReader.parse(java.net.URL, org.apache.sling.jcr.contentloader.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 interfaceContentReader
- Parameters:
ins
- the input stream.- Throws:
IOException
- If anything goes wrong.javax.jcr.RepositoryException
- See Also:
ContentReader.parse(java.io.InputStream, org.apache.sling.jcr.contentloader.ContentCreator)
-
-