Package com.itextpdf.tool.xml.net
Interface FileRetrieve
- All Known Implementing Classes:
FileRetrieveImpl
public interface FileRetrieve
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processFromHref
(String href, ReadingProcessor processor) Process content from a given URL.void
processFromStream
(InputStream in, ReadingProcessor processor) Process content from a given stream.
-
Method Details
-
processFromHref
Process content from a given URL. usingURL.openStream()
- Parameters:
href
- the URL to processprocessor
- the ReadingProcessor- Throws:
IOException
- if something went wrong.
-
processFromStream
Process content from a given stream.- Parameters:
in
- the stream to processprocessor
- the ReadingProcessor- Throws:
IOException
- if something went wrong.
-