@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
javax.jcr.RepositoryException
void parse(java.io.InputStream ins, ContentCreator contentCreator) throws java.io.IOException, javax.jcr.RepositoryException
ins
- the input stream.java.io.IOException
javax.jcr.RepositoryException
Copyright © 2018 The Apache Software Foundation. All rights reserved.