com.infoteria.asteria.flowlibrary2.stream
クラス StreamFactoryText
java.lang.Object
|
+--com.infoteria.asteria.flowlibrary2.stream.StreamFactory
|
+--com.infoteria.asteria.flowlibrary2.stream.StreamFactoryText
- 直系の既知のサブクラス:
- StreamFactoryCSV, StreamFactoryFixedString, StreamFactoryHTML, StreamFactoryXML
- public class StreamFactoryText
- extends StreamFactory
Textのストリームファクトリ。
StreamFactory#getTypeがStreamType.TEXTを返す場合このクラスにキャストできます。
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public StreamDataObject create(byte[] b)
throws StreamException
- クラス
StreamFactory の記述:
- バイト列を基にストリームを作成します。
返り値のストリームにはストリームプロパティが適用されています。
- オーバーライド:
- クラス
StreamFactory 内の create
create
public StreamDataObject create()
throws StreamException
- 空のストリームを作成します。
返り値のストリームにはストリームプロパティが適用されています。
createEmptyStream
public StreamDataObject createEmptyStream()
throws StreamException
- クラス
StreamFactory の記述:
- 空のストリームを作成します。
- オーバーライド:
- クラス
StreamFactory 内の createEmptyStream
create
public StreamDataObject create(String str)
throws StreamException
- 文字列からストリームを作成します。
返り値のストリームにはストリームプロパティが適用されています。
create
public StreamDataObject create(byte[] b,
String enc)
throws StreamException
- バイト列とエンコーディングを指定してストリームを作成します。
encがnullの場合AutoDetectとなります。
返り値のストリームにはストリームプロパティが適用されています。
getEncoding
public String getEncoding()
- Encodingプロパティの値を取得します。
getLineFeed
public LineFeed getLineFeed()
- Linefeedプロパティの値を取得します。