net.spy.util
Class ByteConverionInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
net.spy.util.ByteConverionInputStream
- All Implemented Interfaces:
- Closeable
- Direct Known Subclasses:
- Base64InputStream
public abstract class ByteConverionInputStream
- extends FilterInputStream
Super class for all ascii decoding input streams.
|
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteConverionInputStream
public ByteConverionInputStream(InputStream is)
- Get an instance of ByteConverionInputStream.
markSupported
public boolean markSupported()
- Marking and resetting are not supported in this filter by default.
- Overrides:
markSupported in class FilterInputStream
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.
- Overrides:
read in class FilterInputStream
- Throws:
IOException- See Also:
FilterInputStream
Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.