com.github.libxjava.io
Class BufferedInputStream
java.lang.Object
java.io.InputStream
com.github.libxjava.io.BufferedInputStream
- All Implemented Interfaces:
- Closeable
public abstract class BufferedInputStream
- extends InputStream
- Version:
- libxjava-jse5 - 0.2
- Author:
- Marcel Patzlaff
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bufsize
protected final int bufsize
worklock
protected final Object worklock
BufferedInputStream
protected BufferedInputStream(int bufsize)
available
public final int available()
- Overrides:
available in class InputStream
clear
public final void clear()
read
public final int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
read
public final int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read in class InputStream
- Throws:
IOException
getPayloadStart
protected int getPayloadStart()
getPayloadEnd
protected int getPayloadEnd()
internalRead
protected abstract int internalRead(byte[] buffer)
throws IOException
- Throws:
IOException
Copyright © 2010 Marcel Patzlaff. All Rights Reserved.