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,Serializable
JSONストリーム
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataObject
StreamDataObject.StreamConversionException -
Field Summary
Fields inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataObject
_streamStrategy, PROPERTY_FILEPATH -
Constructor Summary
ConstructorsConstructorDescription空のストリームを作成します。StreamDataJSON(byte[] b) バイト列からストリームを作成します。StreamDataJSON(com.infoteria.asteria.util.json.JSONObject json) JSONObjectからストリームを作成します。StreamDataJSON(String str) 文字列からストリームを作成します。 -
Method Summary
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataText
byteValue, byteValue, detectLineFeed, detectLineFeed, doConvertToDefaultStrategy, getDataInputStream, getEncoding, getLineFeed, strValueMethods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataObject
clean, convertToDefaultStrategy, getDataInputStream, getDataStringReader, getFieldDefinition, getStreamPropertyNames, getStreamVariable, getStreamVariableCount, getStreamVariableNames, getType, putStreamVariable, writeCheckpointFile
-
Constructor Details
-
StreamDataJSON
public StreamDataJSON()空のストリームを作成します。 -
StreamDataJSON
文字列からストリームを作成します。 -
StreamDataJSON
public StreamDataJSON(byte[] b) バイト列からストリームを作成します。 -
StreamDataJSON
public StreamDataJSON(com.infoteria.asteria.util.json.JSONObject json) JSONObjectからストリームを作成します。
-
-
Method Details
-
getJson
JSONObjectを返します。- Throws:
StreamException
-
strValueWithIndent
- Throws:
StreamException
-
isIndent
public boolean isIndent()JSON出力時にインデントするかどうかを返します。 -
getIndentType
public com.infoteria.asteria.flowlibrary2.stream.StreamDataJSON.INDENT_TYPE getIndentType()JSON出力時のインデント文字の種類を返します。 -
getRecord
Description copied from interface:RecordSetRecordを取得します。- Specified by:
getRecordin interfaceRecordSet- Overrides:
getRecordin classStreamDataText- Throws:
StreamException
-
getRecordCount
public int getRecordCount()Description copied from interface:RecordSetRecord数を取得します。- Specified by:
getRecordCountin interfaceRecordSet- Overrides:
getRecordCountin classStreamDataBinaryBase
-