net.spy.util
Class ByteConverionInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by net.spy.util.ByteConverionInputStream
All Implemented Interfaces:
java.io.Closeable
Direct Known Subclasses:
Base64InputStream, UUInputStream

public abstract class ByteConverionInputStream
extends java.io.FilterInputStream

Super class for all ascii decoding input streams.


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
ByteConverionInputStream(java.io.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(java.io.InputStream is)
Get an instance of ByteConverionInputStream.

Method Detail

markSupported

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

Overrides:
markSupported in class java.io.FilterInputStream

read

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

Overrides:
read in class java.io.FilterInputStream
Throws:
java.io.IOException
See Also:
FilterInputStream


Copyright © 1995-2005 SPY Internetworking. All Rights Reserved.