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

Fields inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataObject
PROPERTY_FILEPATH
 
Constructor Summary
StreamDataJSON()
          空のストリームを作成します。
StreamDataJSON(byte[] b)
          バイト列からストリームを作成します。
StreamDataJSON(com.infoteria.asteria.util.json.JSONObject json)
          JSONObjectからストリームを作成します。
StreamDataJSON(java.lang.String str)
          文字列からストリームを作成します。
 
Method Summary
 com.infoteria.asteria.util.json.JSONObject getJson()
          JSONObjectを返します。
 Record getRecord()
           
 int getRecordCount()
           
 boolean isIndent()
          JSON出力時にインデントするかどうかを返します。
 java.lang.String strValueWithIndent()
           
 
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataText
byteValue, byteValue, detectLineFeed, detectLineFeed, doConvertToDefaultStrategy, getDataInputStream, getEncoding, getLineFeed, strValue
 
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
 

Constructor Detail

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からストリームを作成します。
Method Detail

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