async.net.impl
Class FixedInputStream
java.lang.Object
java.io.InputStream
async.net.impl.FixedInputStream
- All Implemented Interfaces:
- Closeable
public class FixedInputStream
- extends InputStream
|
Method Summary |
int |
read()
|
int |
read(byte[] bs,
int start,
int length)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedInputStream
public FixedInputStream(InputStream stream,
int size)
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
read
public int read(byte[] bs,
int start,
int length)
throws IOException
- Overrides:
read in class InputStream
- Throws:
IOException
Copyright © 2011. All Rights Reserved.