Class ZipReader
java.lang.Object
org.apache.sling.jcr.contentloader.internal.readers.ZipReader
- All Implemented Interfaces:
ContentReader
The
ZipReader
TODO- Since:
- 2.0.4
-
Field Summary
Fields inherited from interface org.apache.sling.jcr.contentloader.ContentReader
PROPERTY_EXTENSIONS, PROPERTY_TYPES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
ZipReader
public ZipReader()
-
-
Method Details
-
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:
-
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:
-