public class KnownLengthInputStream extends ByteArrayInputStream
buf, count, mark, pos| Constructor and Description |
|---|
KnownLengthInputStream(byte[] bytes) |
KnownLengthInputStream(String content) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength() |
available, close, mark, markSupported, read, read, reset, skipreadpublic KnownLengthInputStream(String content) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic KnownLengthInputStream(byte[] bytes)
Copyright © 2009–2020 LYRASIS. All rights reserved.