Package com.itextpdf.tool.xml.net
Interface FileRetrieve
-
- All Known Implementing Classes:
FileRetrieveImpl
public interface FileRetrieve
- Author:
- itextpdf.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
processFromHref
void processFromHref(String href, ReadingProcessor processor) throws IOException
Process content from a given URL. usingURL.openStream()
- Parameters:
href
- the URL to processprocessor
- the ReadingProcessor- Throws:
IOException
- if something went wrong.
-
processFromStream
void processFromStream(InputStream in, ReadingProcessor processor) throws IOException
Process content from a given stream.- Parameters:
in
- the stream to processprocessor
- the ReadingProcessor- Throws:
IOException
- if something went wrong.
-
-