|
|||||||||
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
Textのストリームファクトリ。
StreamFactory#getTypeがStreamType.TEXTを返す場合このクラスにキャストできます。
Method Summary | |
StreamDataObject |
create()
空のストリームを作成します。 返り値のストリームにはストリームプロパティが適用されています。 |
StreamDataObject |
create(byte[] b)
|
StreamDataObject |
create(byte[] b,
String enc)
バイト列とエンコーディングを指定してストリームを作成します。 encがnullの場合AutoDetectとなります。 返り値のストリームにはストリームプロパティが適用されています。 |
StreamDataObject |
create(String str)
文字列からストリームを作成します。 返り値のストリームにはストリームプロパティが適用されています。 |
StreamDataObject |
createEmptyStream()
|
protected boolean |
doEquals(StreamFactory sf)
|
String |
getEncoding()
Encodingプロパティの値を取得します。 |
LineFeed |
getLineFeed()
Linefeedプロパティの値を取得します。 |
protected void |
setLineFeed(LineFeed lf)
|
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamFactory |
addProperty, compare, create, create, equals, getFieldDefinition, 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 StreamDataObject create(byte[] b) throws StreamException
StreamFactory
create
in class StreamFactory
public StreamDataObject create() throws StreamException
public StreamDataObject createEmptyStream() throws StreamException
StreamFactory
createEmptyStream
in class StreamFactory
public StreamDataObject create(String str) throws StreamException
public StreamDataObject create(byte[] b, String enc) throws StreamException
public String getEncoding()
public LineFeed getLineFeed()
protected void setLineFeed(LineFeed lf)
protected boolean doEquals(StreamFactory sf)
doEquals
in class StreamFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |