com.funambol.util
Class SimpleStreamReader

java.lang.Object
  extended by com.funambol.util.SimpleStreamReader
All Implemented Interfaces:
StreamReader

public class SimpleStreamReader
extends java.lang.Object
implements StreamReader


Field Summary
 
Fields inherited from interface com.funambol.util.StreamReader
BUFFERSIZE
 
Constructor Summary
SimpleStreamReader()
          Creates a new instance of SimpleStreamReader
 
Method Summary
 byte[] readStream(java.io.InputStream in, int bufferSize)
          Private Method called to read simple text based InputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleStreamReader

public SimpleStreamReader()
Creates a new instance of SimpleStreamReader

Method Detail

readStream

public byte[] readStream(java.io.InputStream in,
                         int bufferSize)
                  throws java.io.IOException
Private Method called to read simple text based InputStream

Specified by:
readStream in interface StreamReader
Parameters:
in - the inflated inputStream
bufferSize - is the size of read buffer
Returns:
the byte array associated with the inflated stream.
Throws:
java.io.IOException


Copyright © 2001-2009 Funambol.