net.spy.util
Class ByteConverionInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended bynet.spy.util.ByteConverionInputStream
Direct Known Subclasses:
Base64InputStream, UUInputStream

public abstract class ByteConverionInputStream
extends FilterInputStream

Super class for all ascii decoding input streams.


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
ByteConverionInputStream(InputStream is)
          Get an instance of ByteConverionInputStream.
 
Method Summary
 boolean markSupported()
          Marking and resetting are not supported in this filter by default.
 int read(byte[] data, int offset, int len)
          Reads up to len bytes of data from this input stream into an array of bytes.
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteConverionInputStream

public ByteConverionInputStream(InputStream is)
Get an instance of ByteConverionInputStream.

Method Detail

markSupported

public boolean markSupported()
Marking and resetting are not supported in this filter by default.


read

public int read(byte[] data,
                int offset,
                int len)
         throws IOException
Reads up to len bytes of data from this input stream into an array of bytes. See the FilterInputStream documentation for more details.

Throws:
IOException
See Also:
FilterInputStream