Class EncodingAwareReaderFactory
- java.lang.Object
-
- com.oracle.coherence.io.json.genson.EncodingAwareReaderFactory
-
public final class EncodingAwareReaderFactory extends Object
This is an internal class that might evolve in the future into a JsonReader Factory and be moved to the stream package.
-
-
Constructor Summary
Constructors Constructor Description EncodingAwareReaderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadercreateReader(InputStream is)Creates java.io.Reader instances with detected encoding from the input stream using BOM if present or JSON spec.
-
-
-
Method Detail
-
createReader
public Reader createReader(InputStream is) throws IOException
Creates java.io.Reader instances with detected encoding from the input stream using BOM if present or JSON spec. Some links: http://www.herongyang.com/Unicode/ http://www.ietf.org/rfc/rfc4627.txt
-
-