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