|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.infoteria.asteria.flowlibrary2.stream.StreamDataObject | +--com.infoteria.asteria.flowlibrary2.stream.StreamDataBinaryBase | +--com.infoteria.asteria.flowlibrary2.stream.StreamDataText
テキストストリーム
Fields inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataObject |
PROPERTY_FILEPATH |
Constructor Summary | |
StreamDataText()
空のストリームを作成します。 |
|
StreamDataText(byte[] b)
バイト列を元にストリームを作成します。 |
|
StreamDataText(byte[] b,
java.lang.String enc)
バイト列とエンコーディングを元にストリームを作成します。 encがnullの場合AutoDetectとなります。 |
|
StreamDataText(java.lang.String str)
文字列からストリームを作成します。 |
Method Summary | |
byte[] |
byteValue()
ストリームのバイト表現 |
byte[] |
byteValue(java.lang.String encoding)
|
static LineFeed |
detectLineFeed(byte[] str)
引数のバイト列に最初に出現する改行コードを返します。 |
static LineFeed |
detectLineFeed(java.lang.String str)
引数の文字列に最初に出現する改行コードを返します。 |
protected StreamDataObject |
doConvertToDefaultStrategy()
|
java.io.InputStream |
getDataInputStream(java.lang.String encoding)
|
java.lang.String |
getEncoding()
エンコーディングを取得します。 |
LineFeed |
getLineFeed()
ラインフィードを取得します。 |
Record |
getRecord()
|
java.lang.String |
strValue()
ストリームの文字列表現 |
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataBinaryBase |
getRecordCount |
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 |
public StreamDataText()
public StreamDataText(java.lang.String str)
public StreamDataText(byte[] b)
public StreamDataText(byte[] b, java.lang.String enc) throws StreamException
Method Detail |
public byte[] byteValue() throws StreamException
byteValue
in class StreamDataObject
StreamException
- エンコーディングがサポートされていない場合public byte[] byteValue(java.lang.String encoding) throws StreamException
public java.io.InputStream getDataInputStream(java.lang.String encoding) throws StreamException
public java.lang.String strValue() throws StreamException
strValue
in class StreamDataObject
StreamException
- エンコーディングがサポートされていない場合public LineFeed getLineFeed()
public java.lang.String getEncoding()
public static LineFeed detectLineFeed(byte[] str)
public static LineFeed detectLineFeed(java.lang.String str)
public Record getRecord() throws StreamException
RecordSet
getRecord
in class StreamDataBinaryBase
protected StreamDataObject doConvertToDefaultStrategy() throws StreamException
doConvertToDefaultStrategy
in class StreamDataObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |