public class ExcerptInputStream
extends java.io.BufferedInputStream
Modifier and Type | Field and Description |
---|---|
static byte[] |
ELLIPSIS
A marker that's appended to the excerpt if it's less than the complete
stream.
|
private byte[] |
excerpt |
private static int |
LIMIT |
Constructor and Description |
---|
ExcerptInputStream(java.io.InputStream in) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getExcerpt()
The first few bytes of data, plus ELLIPSIS if there are more bytes.
|
public static final byte[] ELLIPSIS
private static final int LIMIT
private byte[] excerpt