@ConsumerType
public interface ContentReader
ContentReader| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_EXTENSIONS |
static java.lang.String |
PROPERTY_TYPES |
| Modifier and Type | Method and Description |
|---|---|
void |
parse(java.io.InputStream ins,
ContentCreator contentCreator)
Read the content from the input stream and create the
content using the provided content creator.
|
void |
parse(java.net.URL url,
ContentCreator creator)
Read the content from the URL and create the
content using the provided content creator.
|
static final java.lang.String PROPERTY_EXTENSIONS
static final java.lang.String PROPERTY_TYPES
void parse(java.net.URL url,
ContentCreator creator)
throws java.io.IOException,
javax.jcr.RepositoryException
url - The input stream.java.io.IOException - If anything goes wrong.javax.jcr.RepositoryExceptionvoid parse(java.io.InputStream ins,
ContentCreator contentCreator)
throws java.io.IOException,
javax.jcr.RepositoryException
ins - the input stream.java.io.IOException - If anything goes wrong.javax.jcr.RepositoryExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.