|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
com.antiaction.mayhem.core.BufferedInputStream
public class BufferedInputStream
Buffered InputStream.
| Constructor Summary | |
|---|---|
BufferedInputStream()
Construct object with default buffer size. |
|
BufferedInputStream(int size)
Construct object with a buffer of the requested size. |
|
| Method Summary | |
|---|---|
int |
available()
|
void |
close()
|
void |
init()
Initialize the internal structures and indexes. |
void |
mark(int readlimit)
|
boolean |
markSupported()
|
void |
open(java.io.InputStream in)
Attach an InputStream to this wrapper. |
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int off,
int len)
|
java.lang.String |
readLine(byte[] arrReadLine)
Reads a line on the supplied InputStream. |
int |
readLine(byte[] b,
int off,
int len)
|
void |
reset()
|
long |
skip(long n)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BufferedInputStream()
BufferedInputStream(int)public BufferedInputStream(int size)
size - initial size of buffer.| Method Detail |
|---|
public void init()
public void open(java.io.InputStream in)
InputStream to this wrapper.
public void close()
throws java.io.IOException
close in interface IBufferedInputStreamclose in interface java.io.Closeableclose in class java.io.InputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in interface IBufferedInputStreammarkSupported in class java.io.InputStream
public int available()
throws java.io.IOException
available in interface IBufferedInputStreamavailable in class java.io.InputStreamjava.io.IOExceptionpublic void mark(int readlimit)
mark in interface IBufferedInputStreammark in class java.io.InputStream
public void reset()
throws java.io.IOException
reset in interface IBufferedInputStreamreset in class java.io.InputStreamjava.io.IOException
public int read()
throws java.io.IOException
read in interface IBufferedInputStreamread in class java.io.InputStreamjava.io.IOException
public int read(byte[] b)
throws java.io.IOException
read in interface IBufferedInputStreamread in class java.io.InputStreamjava.io.IOException
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in interface IBufferedInputStreamread in class java.io.InputStreamjava.io.IOException
public long skip(long n)
throws java.io.IOException
skip in interface IBufferedInputStreamskip in class java.io.InputStreamjava.io.IOException
public int readLine(byte[] b,
int off,
int len)
throws java.io.IOException
readLine in interface IBufferedInputStreamjava.io.IOException
public java.lang.String readLine(byte[] arrReadLine)
throws java.io.IOException
readLine in interface IBufferedInputStreamjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||