|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
java.io.BufferedInputStream
net.oauth.client.ExcerptInputStream
public class ExcerptInputStream
A decorator that retains a copy of the first few bytes of data.
| Field Summary | |
|---|---|
static byte[] |
ELLIPSIS
A marker that's appended to the excerpt if it's less than the complete stream. |
| Fields inherited from class java.io.BufferedInputStream |
|---|
buf, count, marklimit, markpos, pos |
| Fields inherited from class java.io.FilterInputStream |
|---|
in |
| Constructor Summary | |
|---|---|
ExcerptInputStream(java.io.InputStream in)
|
|
| Method Summary | |
|---|---|
byte[] |
getExcerpt()
The first few bytes of data, plus ELLIPSIS if there are more bytes. |
| Methods inherited from class java.io.BufferedInputStream |
|---|
available, close, mark, markSupported, read, read, reset, skip |
| 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 |
| Field Detail |
|---|
public static final byte[] ELLIPSIS
| Constructor Detail |
|---|
public ExcerptInputStream(java.io.InputStream in)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public byte[] getExcerpt()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||