|
|||||||||
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 | +--com.infoteria.asteria.flowlibrary2.stream.StreamDataFixedString
固定長文字列ストリーム
Field Summary | |
static int |
PACKED_SIGN_ACEF_BD
PackedSignFormatのシンボル - 符号は A,C,E,F(+)、B,D(-) |
static int |
PACKED_SIGN_ANY
PackedSignのシンボル - 符号なしの入力を許容、正の符号を出力しない |
static int |
PACKED_SIGN_C_D
PackedSignFormatのシンボル - 符号は C(+)、D(-) |
static int |
PACKED_SIGN_OPTION
PackedSignのシンボル - 符号なしの入力を許容、正の符号を出力 |
static int |
PACKED_SIGN_REQUIRED
PackedSignのシンボル - 符号なしは不可 |
static int |
RD_LENGTH
RecordDelimiterのシンボル - レコード長区切り |
static int |
RD_LINEFEED
RecordDelimiterのシンボル - 改行区切り |
static int |
ZONED_SIGN_ANY
ZonedSignのシンボル - 符号なしの入力を許容、正の符号を出力しない |
static int |
ZONED_SIGN_C_D
ZonedSignFormatのシンボル - 符号は C(+)、D(-) |
static int |
ZONED_SIGN_EBCDIC_COMPATIBLE
ZonedSignFormatのシンボル - 符号はEBCDIC互換 {ABCDEFGHI(+), }JKLMNOPQR(-) |
static int |
ZONED_SIGN_OPTION
ZonedSignのシンボル - 符号なしの入力を許容、正の符号を出力 |
static int |
ZONED_SIGN_REQUIRED
ZonedSignのシンボル - 符号なしは不可 |
Fields inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataObject |
PROPERTY_FILEPATH |
Constructor Summary | |
StreamDataFixedString()
空のストリームを作成します。 |
|
StreamDataFixedString(byte[] b)
バイト列を元にストリームを作成します。 |
|
StreamDataFixedString(List data)
Listを引数にしてストリームを作成します。 引数のListはValue[]のリストでなければなりません。 |
|
StreamDataFixedString(String str)
文字列からストリームを作成します。 |
Method Summary | |
byte[] |
byteValue()
|
boolean |
countShiftCode()
|
protected List |
getData()
FixedLengthの各フィールドを保持するListを取得します。 Listの各要素は1レコードに対応し、その内容はValue[]となっています。 |
int |
getPackedSign()
|
int |
getPackedSignFormat()
|
Record |
getRecord()
|
int |
getRecordCount()
|
int |
getRecordDelimiter()
RecordDelimiterを取得します。 |
int |
getRecordLength()
レコード長を取得します。 |
int |
getStartRow()
開始行を取得します。 開始行はファクトリの適用時に一度だけ評価され、あとは参照情報となります。 |
int |
getZonedSign()
|
int |
getZonedSignFormat()
|
String |
strValue()
|
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataText |
detectLineFeed, detectLineFeed, getEncoding, getLineFeed |
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataObject |
getFieldDefinition, getStreamPropertyNames, getStreamVariable, getStreamVariableCount, getStreamVariableNames, getType, putStreamVariable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int RD_LINEFEED
public static final int RD_LENGTH
public static final int PACKED_SIGN_REQUIRED
public static final int PACKED_SIGN_OPTION
public static final int PACKED_SIGN_ANY
public static final int PACKED_SIGN_C_D
public static final int PACKED_SIGN_ACEF_BD
public static final int ZONED_SIGN_REQUIRED
public static final int ZONED_SIGN_OPTION
public static final int ZONED_SIGN_ANY
public static final int ZONED_SIGN_C_D
public static final int ZONED_SIGN_EBCDIC_COMPATIBLE
Constructor Detail |
public StreamDataFixedString()
public StreamDataFixedString(String str)
public StreamDataFixedString(byte[] b)
public StreamDataFixedString(List data)
Method Detail |
protected List getData() throws StreamException
public byte[] byteValue() throws StreamException
StreamDataText
byteValue
in class StreamDataText
com.infoteria.asteria.flowlibrary2.stream.StreamDataText
StreamException
- エンコーディングがサポートされていない場合public String strValue() throws StreamException
StreamDataText
strValue
in class StreamDataText
com.infoteria.asteria.flowlibrary2.stream.StreamDataText
StreamException
- エンコーディングがサポートされていない場合public int getRecordDelimiter()
public int getRecordLength()
public int getStartRow()
public int getPackedSign()
public int getPackedSignFormat()
public int getZonedSign()
public int getZonedSignFormat()
public boolean countShiftCode()
public Record getRecord() throws StreamException
RecordSet
getRecord
in class StreamDataText
public int getRecordCount() throws StreamException
RecordSet
getRecordCount
in class StreamDataBinaryBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |