public interface FileRetrieve
Modifier and Type | Method and Description |
---|---|
void |
processFromHref(String href, ReadingProcessor processor)
Process content from a given URL. using URL.openStream()
|
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 process
processor
- the ReadingProcessor
IOException
- if something went wrong.
void processFromStream(InputStream in, ReadingProcessor processor) throws IOException
in
- the stream to process
processor
- the ReadingProcessor
IOException
- if something went wrong.
Copyright © 2016. All rights reserved.