de.nava.informa.utils.poller
Interface InputSourceProviderIF


public interface InputSourceProviderIF

Interface of InputSource provider which is intended to return input source created from the given InputStream. It can be used to customize the string processing by wrapping the stream with custom Reader's or another FilterInputStream's. The source stream represents feed's stream of chars and InputSource object will be used for parsing this feed.


Method Summary
 InputSource getInputSourceFor(InputStream stream)
          Return InputSource to be used with given stream.
 

Method Detail

getInputSourceFor

InputSource getInputSourceFor(InputStream stream)
                              throws IOException
Return InputSource to be used with given stream.

Parameters:
stream - input stream.
Returns:
initialized input source ready for use in parsing.
Throws:
IOException - in case of any problems.


Copyright © 2002-2007 Niko Schmuck. All Rights Reserved.