@ConsumerType
public interface ContentReader
ContentReader| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_EXTENSIONS |
static String |
PROPERTY_TYPES |
| 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.
|
static final String PROPERTY_EXTENSIONS
static final String PROPERTY_TYPES
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 © 2017 The Apache Software Foundation. All rights reserved.