com.github.libxjava.io
Class BufferedInputStream
java.lang.Object
java.io.InputStream
com.github.libxjava.io.BufferedInputStream
public abstract class BufferedInputStream
- extends InputStream
- Version:
- libxjava-cldc - 0.3
- Author:
- Marcel Patzlaff
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 © 2011 Marcel Patzlaff. All Rights Reserved.