de.nava.informa.utils.poller
Interface InputStreamProviderIF


public interface InputStreamProviderIF

Interface of InputStream provider which is intended to return input stream for a given channel.


Method Summary
 InputStream getInputStreamFor(ChannelIF channel, String activity)
          Return InputStream to be used for reading given channel.
 

Method Detail

getInputStreamFor

InputStream getInputStreamFor(ChannelIF channel,
                              String activity)
                              throws IOException
Return InputStream to be used for reading given channel.

Parameters:
channel - channel we are going to read.
activity - activity name (like, "Fetching" or "Detecting format").
Returns:
initialized input stream ready for reading.
Throws:
IOException - in case of any problems.


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