Class FilterInputStream
java.lang.Object
java.io.InputStream
com.codename1.io.gzip.FilterInputStream
- All Implemented Interfaces:
java.io.Closeable, AutoCloseable
- Direct Known Subclasses:
InflaterInputStream
public class FilterInputStream
extends java.io.InputStream
Simple version of filter input stream
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
in
protected java.io.InputStream in
-
-
Constructor Details
-
FilterInputStream
protected FilterInputStream(java.io.InputStream underlying)
-
-
Method Details
-
read
public int read() throws java.io.IOException- Specified by:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
read
public int read(byte[] b) throws java.io.IOException - Overrides:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
read
public int read(byte[] b, int offset, int length) throws java.io.IOException - Overrides:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
skip
public long skip(long n) throws java.io.IOException - Overrides:
skipin classjava.io.InputStream- Throws:
java.io.IOException
-
available
public int available() throws java.io.IOException- Overrides:
availablein classjava.io.InputStream- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.InputStream- Throws:
java.io.IOException
-
mark
public void mark(int readlimit) - Overrides:
markin classjava.io.InputStream
-
reset
public void reset() throws java.io.IOException- Overrides:
resetin classjava.io.InputStream- Throws:
java.io.IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classjava.io.InputStream
-