public interface FileRetrieve
Modifier and Type | Method and Description |
---|---|
void |
processFromHref(String href,
ReadingProcessor processor)
Process content from a given URL.
|
void |
processFromStream(InputStream in,
ReadingProcessor processor)
Process content from a given stream.
|
void processFromHref(String href, ReadingProcessor processor) throws IOException
URL.openStream()
href
- the URL to processprocessor
- the ReadingProcessorIOException
- if something went wrong.void processFromStream(InputStream in, ReadingProcessor processor) throws IOException
in
- the stream to processprocessor
- the ReadingProcessorIOException
- if something went wrong.Copyright © 2017. All rights reserved.