public class SystemInputJsonReader extends ContextHandler<SystemInputContext> implements ISystemInputSource, Closeable
ISystemInputSource
that reads from a JSON document.Constructor and Description |
---|
SystemInputJsonReader()
Creates a new SystemInputJsonReader object.
|
SystemInputJsonReader(InputStream stream)
Creates a new SystemInputJsonReader object.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected InputStream |
getInputStream()
Returns the input stream for this reader.
|
SystemInputDef |
getSystemInputDef()
Returns a
SystemInputDef instance. |
void |
setInputStream(InputStream stream)
Changes the input stream for this reader.
|
doFor, getContext, getNotifier, notifyError, notifyError, notifyWarning, notifyWarning, resultFor, setNotifier
public SystemInputJsonReader()
public SystemInputJsonReader(InputStream stream)
public SystemInputDef getSystemInputDef()
SystemInputDef
instance.getSystemInputDef
in interface ISystemInputSource
public void setInputStream(InputStream stream)
protected InputStream getInputStream()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2024 The Cornutum Project. All rights reserved.