@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, RepositoryException
url
- The input stream.java.io.IOException
RepositoryException
void parse(java.io.InputStream ins, ContentCreator contentCreator) throws java.io.IOException, RepositoryException
ins
- the input stream.java.io.IOException
RepositoryException
Copyright © 2010 - 2020 Adobe. All Rights Reserved