|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.infoteria.asteria.flowlibrary2.stream.StreamFactory
|
+--com.infoteria.asteria.flowlibrary2.stream.StreamFactoryText
|
+--com.infoteria.asteria.flowlibrary2.stream.StreamFactoryFixedString
FixedLengthのストリームファクトリ。
StreamFactory#getTypeがStreamType.FIXED_LENGTHを返す場合このクラスにキャストできます。
| Method Summary | |
void |
add(byte[] record)
|
void |
add(Value[] record)
|
StreamDataFixedString |
create(java.util.List list)
Listを基にストリームを作成します。 引数のListはValue[]のリストでなければなりません。 |
StreamDataObject |
createEmptyStream()
"Encoding"パラメータを"utf-8"に設定した、空のFixedStringストリームを作成して返します。 |
StreamDataObject |
createEmptyStreamWithoutDefaultEncoding()
|
protected boolean |
doEquals(StreamFactory sf)
|
int |
getPackedSign()
PackedSignプロパティ値を取得します |
int |
getPackedSignFormat()
PackedSignFormatプロパティ値を取得します |
int |
getRecordDelimiter()
RecordDelimiterプロパティの値を取得します。 |
int |
getRecordLength()
RecordLengthプロパティの値を取得します。 |
int |
getStartRow()
StartRowプロパティの値を取得します。 |
int |
getZonedSign()
ZonedSignプロパティ値を取得します |
int |
getZonedSignFormat()
ZonedSignFormatプロパティ値を取得します |
void |
initialize()
|
boolean |
isCountShiftCode()
CountShiftCodeプロパティ値を取得します |
void |
terminate()
|
| Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamFactoryText |
add, create, create, create, create, create, getEncoding, getLineFeed, setLineFeed |
| Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamFactory |
addProperty, compare, create, create, create, equals, getFactoryOutputStream, getFieldDefinition, getInstance, getInstance, getType, setFieldDefinition, setNeedCheckpointParse, setProperties |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public StreamDataFixedString create(java.util.List list)
throws StreamException
public void add(Value[] record)
throws StreamException
public void add(byte[] record)
throws StreamException
public void initialize()
StreamFactoryStreamFactory.create() and StreamFactory.terminate(). Example usage:
try {
initialize();
add(dataPart1);
add(dataPart2);
stream = create();
} finally {
terminate();
}
initialize in class StreamFactorypublic void terminate()
StreamFactoryStreamFactory.initialize() for more details.terminate in class StreamFactorypublic int getRecordDelimiter()
public int getRecordLength()
public int getStartRow()
public int getPackedSign()
public int getPackedSignFormat()
public int getZonedSign()
public int getZonedSignFormat()
public boolean isCountShiftCode()
public StreamDataObject createEmptyStream()
throws StreamException
createEmptyStream in class StreamFactory
public StreamDataObject createEmptyStreamWithoutDefaultEncoding()
throws StreamException
protected boolean doEquals(StreamFactory sf)
doEquals in class StreamFactoryText
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||