public class JsonValueReader<T>
extends java.io.Reader
implements java.util.function.Supplier<javax.json.JsonStructure>
Modifier and Type | Field and Description |
---|---|
private java.io.ByteArrayInputStream |
fallbackDelegate |
private javax.json.JsonStructure |
input |
private T |
result |
Constructor and Description |
---|
JsonValueReader(javax.json.JsonStructure input) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
javax.json.JsonStructure |
get() |
javax.json.JsonStructure |
getInput()
Deprecated.
|
T |
getResult()
Deprecated.
|
int |
read(char[] cbuf,
int off,
int len) |
void |
setResult(T result)
Deprecated.
|
private final javax.json.JsonStructure input
private java.io.ByteArrayInputStream fallbackDelegate
private T result
public int read(char[] cbuf, int off, int len)
read
in class java.io.Reader
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Reader
java.io.IOException
public javax.json.JsonStructure get()
get
in interface java.util.function.Supplier<javax.json.JsonStructure>
@Deprecated public javax.json.JsonStructure getInput()
@Deprecated public T getResult()
@Deprecated public void setResult(T result)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.