Package org.javarosa.core.io
Class BufferedInputStream
java.lang.Object
java.io.InputStream
org.javarosa.core.io.BufferedInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
public class BufferedInputStream extends InputStream
An implementation of a Buffered Stream for j2me compatible libraries.
Very basic, no mark support (Pretty much only for web related streams
anyway).
- Author:
- ctsims
-
Constructor Summary
Constructors Constructor Description BufferedInputStream(InputStream in)BufferedInputStream(InputStream in, int size) -
Method Summary
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
Method Details
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
mark
public void mark(int arg0)- Overrides:
markin classInputStream
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classInputStream
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
reset
- Overrides:
resetin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-