public interface ContentReader
ContentReader
A content reader is provided by an ImportProvider.| Modifier and Type | Method and Description |
|---|---|
void |
parse(InputStream ins,
ContentCreator contentCreator)
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.
|
void parse(URL url, ContentCreator creator) throws IOException, javax.jcr.RepositoryException
url - The input stream.IOExceptionjavax.jcr.RepositoryExceptionvoid parse(InputStream ins, ContentCreator contentCreator) throws IOException, javax.jcr.RepositoryException
ins - the input stream.IOExceptionjavax.jcr.RepositoryExceptionCopyright © 2007–2014 The Apache Software Foundation. All rights reserved.