class StreamUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
private static long |
MAX_MEMORY |
| Constructor and Description |
|---|
StreamUtil() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static int |
calculateBodyLength(int length) |
(package private) static int |
calculateTagLength(int tagNo) |
(package private) static int |
findLimit(InputStream in)
Find out possible longest length...
|
private static final long MAX_MEMORY
StreamUtil()
static int findLimit(InputStream in)
in - input stream of intereststatic int calculateBodyLength(int length)
static int calculateTagLength(int tagNo) throws IOException
IOException