|
||||||||||
| 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.PositionInputStream
org.apache.james.mime4j.io.LimitedInputStream
public class LimitedInputStream
| Field Summary |
|---|
| Fields inherited from class org.apache.james.mime4j.io.PositionInputStream |
|---|
position |
| Fields inherited from class java.io.FilterInputStream |
|---|
in |
| Constructor Summary | |
|---|---|
LimitedInputStream(java.io.InputStream instream,
long limit)
|
|
| Method Summary | |
|---|---|
int |
read()
|
int |
read(byte[] b,
int off,
int len)
|
long |
skip(long n)
|
| Methods inherited from class org.apache.james.mime4j.io.PositionInputStream |
|---|
available, close, getPosition, mark, markSupported, reset |
| Methods inherited from class java.io.FilterInputStream |
|---|
read |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LimitedInputStream(java.io.InputStream instream,
long limit)
| Method Detail |
|---|
public int read()
throws java.io.IOException
read in class PositionInputStreamjava.io.IOException
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class PositionInputStreamjava.io.IOException
public long skip(long n)
throws java.io.IOException
skip in class PositionInputStreamjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||