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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparse(InputStream ins, ContentCreator creator) Read the content from the input stream and create the content using the provided content creator.voidparse(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:ContentReaderRead the content from the URL and create the content using the provided content creator.- Specified by:
parsein 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:ContentReaderRead the content from the input stream and create the content using the provided content creator.- Specified by:
parsein interfaceContentReader- Parameters:
ins- the input stream.- Throws:
IOException- If anything goes wrong.javax.jcr.RepositoryException- See Also:
-