Class StreamFactoryText
java.lang.Object
com.infoteria.asteria.flowlibrary2.stream.StreamFactory
com.infoteria.asteria.flowlibrary2.stream.StreamFactoryText
- Direct Known Subclasses:
StreamFactoryCSV,StreamFactoryFixedString,StreamFactoryHTML,StreamFactoryJSON,StreamFactoryXML
Textのストリームファクトリ。
StreamFactory#getTypeがStreamType.TEXTを返す場合このクラスにキャストできます。
StreamFactory#getTypeがStreamType.TEXTを返す場合このクラスにキャストできます。
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(byte[] b) バイト列を基にストリームを作成します。
返り値のストリームにはストリームプロパティが適用されています。バイト列とエンコーディングを指定してストリームを作成します。
encがnullの場合AutoDetectとなります。
返り値のストリームにはストリームプロパティが適用されています。create(InputStream is, String enc) 文字列からストリームを作成します。
返り値のストリームにはストリームプロパティが適用されています。protected booleanEncodingプロパティの値を取得します。Linefeedプロパティの値を取得します。protected voidsetLineFeed(LineFeed lf) Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamFactory
compare, create, create, create, createEmptyStream, equals, getFactoryOutputStream, getFieldDefinition, getInstance, getInstance, getType, initialize, setFieldDefinition, setNeedCheckpointParse, setProperties, terminate
-
Method Details
-
add
- Throws:
StreamException
-
create
Description copied from class:StreamFactoryバイト列を基にストリームを作成します。
返り値のストリームにはストリームプロパティが適用されています。- Specified by:
createin classStreamFactory- Throws:
StreamException
-
create
文字列からストリームを作成します。
返り値のストリームにはストリームプロパティが適用されています。- Throws:
StreamException
-
create
バイト列とエンコーディングを指定してストリームを作成します。
encがnullの場合AutoDetectとなります。
返り値のストリームにはストリームプロパティが適用されています。- Throws:
StreamException
-
create
- Throws:
StreamException
-
create
- Throws:
StreamException
-
getEncoding
Encodingプロパティの値を取得します。 -
getLineFeed
Linefeedプロパティの値を取得します。 -
setLineFeed
-
doEquals
- Overrides:
doEqualsin classStreamFactory
-