public class StringInputStream extends NonBlockingByteArrayInputStream
DEFAULT_COPY_NEEDED, m_aBuf, m_nCount, m_nMark, m_nPos| Constructor and Description |
|---|
StringInputStream(String sInput,
Charset aCharset) |
| Modifier and Type | Method and Description |
|---|---|
static StringInputStream |
utf8(String sInput)
Shortcut factory method for a UTF-8 based
StringInputStream. |
available, close, getPosition, isCopy, mark, markSupported, read, read, reset, skipread@Nonnull public static StringInputStream utf8(@Nonnull String sInput)
StringInputStream.sInput - The input String. May not be null.null.Copyright © 2014–2022 Philip Helger. All rights reserved.