com.itextpdf.tool.xml.net
Interface FileRetrieve

All Known Implementing Classes:
FileRetrieveImpl

public interface FileRetrieve

Author:
itextpdf.com

Method Summary
 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. using URL.openStream()

Parameters:
href - the URL to process
processor - 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 process
processor - the ReadingProcessor
Throws:
IOException - if something went wrong.


Copyright © 2012. All Rights Reserved.