|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
org.apache.james.mime4j.io.CloseShieldInputStream
public class CloseShieldInputStream
InputStream that shields its underlying input stream from being closed.
Field Summary |
---|
Fields inherited from class java.io.FilterInputStream |
---|
in |
Constructor Summary | |
---|---|
CloseShieldInputStream(java.io.InputStream is)
Deprecated. |
Method Summary | |
---|---|
int |
available()
Deprecated. |
void |
close()
Deprecated. Set the underlying InputStream to null |
java.io.InputStream |
getUnderlyingStream()
Deprecated. |
void |
mark(int readlimit)
Deprecated. |
boolean |
markSupported()
Deprecated. |
int |
read()
Deprecated. |
int |
read(byte[] b)
Deprecated. |
int |
read(byte[] b,
int off,
int len)
Deprecated. |
void |
reset()
Deprecated. |
long |
skip(long n)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CloseShieldInputStream(java.io.InputStream is)
Method Detail |
---|
public java.io.InputStream getUnderlyingStream()
public int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
InputStream.read()
public int available() throws java.io.IOException
available
in class java.io.FilterInputStream
java.io.IOException
InputStream.available()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.FilterInputStream
java.io.IOException
public void reset() throws java.io.IOException
reset
in class java.io.FilterInputStream
java.io.IOException
FilterInputStream.reset()
public boolean markSupported()
markSupported
in class java.io.FilterInputStream
FilterInputStream.markSupported()
public void mark(int readlimit)
mark
in class java.io.FilterInputStream
FilterInputStream.mark(int)
public long skip(long n) throws java.io.IOException
skip
in class java.io.FilterInputStream
java.io.IOException
FilterInputStream.skip(long)
public int read(byte[] b) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
FilterInputStream.read(byte[])
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
FilterInputStream.read(byte[], int, int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |