|
||||||||||
| 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.FilterInputStreamjava.io.IOExceptionInputStream.read()
public int available()
throws java.io.IOException
available in class java.io.FilterInputStreamjava.io.IOExceptionInputStream.available()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.FilterInputStreamjava.io.IOException
public void reset()
throws java.io.IOException
reset in class java.io.FilterInputStreamjava.io.IOExceptionFilterInputStream.reset()public boolean markSupported()
markSupported in class java.io.FilterInputStreamFilterInputStream.markSupported()public void mark(int readlimit)
mark in class java.io.FilterInputStreamFilterInputStream.mark(int)
public long skip(long n)
throws java.io.IOException
skip in class java.io.FilterInputStreamjava.io.IOExceptionFilterInputStream.skip(long)
public int read(byte[] b)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionFilterInputStream.read(byte[])
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionFilterInputStream.read(byte[], int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||