final class RFC4627AwareInputStreamReader
extends java.io.InputStreamReader
Modifier | Constructor and Description |
---|---|
(package private) |
RFC4627AwareInputStreamReader(java.io.InputStream in) |
private |
RFC4627AwareInputStreamReader(java.io.PushbackInputStream in) |
Modifier and Type | Method and Description |
---|---|
private static java.nio.charset.Charset |
getCharset(java.io.PushbackInputStream inputStream) |
private static byte[] |
readAllBytes(java.io.PushbackInputStream inputStream)
According to the Java API "An attempt is made to read as many as len bytes, but a smaller number may be read".
|
RFC4627AwareInputStreamReader(java.io.InputStream in)
private RFC4627AwareInputStreamReader(java.io.PushbackInputStream in)
private static byte[] readAllBytes(java.io.PushbackInputStream inputStream) throws java.io.IOException
java.io.IOException
private static java.nio.charset.Charset getCharset(java.io.PushbackInputStream inputStream)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.