com.infoteria.asteria.flowlibrary2.stream
Class StreamDataJSON
java.lang.Object
|
+--com.infoteria.asteria.flowlibrary2.stream.StreamDataObject
|
+--com.infoteria.asteria.flowlibrary2.stream.StreamDataBinaryBase
|
+--com.infoteria.asteria.flowlibrary2.stream.StreamDataText
|
+--com.infoteria.asteria.flowlibrary2.stream.StreamDataJSON
- All Implemented Interfaces:
- RecordSet, java.io.Serializable
- public class StreamDataJSON
- extends StreamDataText
JSONストリーム
- See Also:
- Serialized Form
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataObject |
clean, convertToDefaultStrategy, getDataInputStream, getDataStringReader, getFieldDefinition, getStreamPropertyNames, getStreamVariable, getStreamVariableCount, getStreamVariableNames, getType, putStreamVariable, writeCheckpointFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamDataJSON
public StreamDataJSON()
- 空のストリームを作成します。
StreamDataJSON
public StreamDataJSON(java.lang.String str)
- 文字列からストリームを作成します。
StreamDataJSON
public StreamDataJSON(byte[] b)
- バイト列からストリームを作成します。
StreamDataJSON
public StreamDataJSON(com.infoteria.asteria.util.json.JSONObject json)
- JSONObjectからストリームを作成します。
getJson
public com.infoteria.asteria.util.json.JSONObject getJson()
throws StreamException
- JSONObjectを返します。
strValueWithIndent
public java.lang.String strValueWithIndent()
throws StreamException
isIndent
public boolean isIndent()
- JSON出力時にインデントするかどうかを返します。
getRecord
public Record getRecord()
throws StreamException
- Description copied from interface:
RecordSet
- Recordを取得します。
- Overrides:
getRecord
in class StreamDataText
getRecordCount
public int getRecordCount()
- Description copied from interface:
RecordSet
- Record数を取得します。
- Overrides:
getRecordCount
in class StreamDataBinaryBase