Package com.itextpdf.tool.xml.net
Interface FileRetrieve
-
- All Known Implementing Classes:
FileRetrieveImpl
public interface FileRetrieve
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocessFromHref(java.lang.String href, ReadingProcessor processor)Process content from a given URL.voidprocessFromStream(java.io.InputStream in, ReadingProcessor processor)Process content from a given stream.
-
-
-
Method Detail
-
processFromHref
void processFromHref(java.lang.String href, ReadingProcessor processor) throws java.io.IOExceptionProcess content from a given URL. usingURL.openStream()- Parameters:
href- the URL to processprocessor- the ReadingProcessor- Throws:
java.io.IOException- if something went wrong.
-
processFromStream
void processFromStream(java.io.InputStream in, ReadingProcessor processor) throws java.io.IOExceptionProcess content from a given stream.- Parameters:
in- the stream to processprocessor- the ReadingProcessor- Throws:
java.io.IOException- if something went wrong.
-
-