- java.lang.Object
- 
- java.io.Reader
- 
- org.apache.johnzon.jsonb.extension.JsonValueReader<T>
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.lang.AutoCloseable,- java.lang.Readable,- java.util.function.Supplier<jakarta.json.JsonStructure>
 
 public class JsonValueReader<T> extends java.io.Reader implements java.util.function.Supplier<jakarta.json.JsonStructure>
- 
- 
Field SummaryFields Modifier and Type Field Description private java.io.ByteArrayInputStreamfallbackDelegateprivate jakarta.json.JsonStructureinputprivate Tresult
 - 
Constructor SummaryConstructors Constructor Description JsonValueReader(jakarta.json.JsonStructure input)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()jakarta.json.JsonStructureget()jakarta.json.JsonStructuregetInput()Deprecated.TgetResult()Deprecated.intread(char[] cbuf, int off, int len)voidsetResult(T result)Deprecated.
 
- 
- 
- 
Field Detail- 
inputprivate final jakarta.json.JsonStructure input 
 - 
fallbackDelegateprivate java.io.ByteArrayInputStream fallbackDelegate 
 - 
resultprivate T result 
 
- 
 - 
Method Detail- 
readpublic int read(char[] cbuf, int off, int len)- Specified by:
- readin class- java.io.Reader
 
 - 
closepublic void close() throws java.io.IOException- Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.io.Closeable
- Specified by:
- closein class- java.io.Reader
- Throws:
- java.io.IOException
 
 - 
getpublic jakarta.json.JsonStructure get() - Specified by:
- getin interface- java.util.function.Supplier<T>
 
 - 
getInput@Deprecated public jakarta.json.JsonStructure getInput() Deprecated.
 - 
getResult@Deprecated public T getResult() Deprecated.
 - 
setResult@Deprecated public void setResult(T result) Deprecated.
 
- 
 
-