com.infoteria.asteria.flowlibrary2.stream
Class StreamFactoryHTML

java.lang.Object
  |
  +--com.infoteria.asteria.flowlibrary2.stream.StreamFactory
        |
        +--com.infoteria.asteria.flowlibrary2.stream.StreamFactoryText
              |
              +--com.infoteria.asteria.flowlibrary2.stream.StreamFactoryHTML

public class StreamFactoryHTML
extends StreamFactoryText

HTMLのストリームファクトリ。
StreamFactory#getTypeがStreamType.HTMLを返す場合このクラスにキャストできます。


Method Summary
 StreamDataObject create()
           
 StreamDataObject create(byte[] b)
           
 StreamDataObject create(byte[] b, java.lang.String enc)
           
 StreamDataObject create(java.lang.String str)
           
 
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamFactoryText
add, create, create, doEquals, getEncoding, getLineFeed, setLineFeed
 
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamFactory
addProperty, compare, create, create, createEmptyStream, equals, getFactoryOutputStream, getFieldDefinition, getInstance, getInstance, getType, initialize, setFieldDefinition, setNeedCheckpointParse, setProperties, terminate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public StreamDataObject create(byte[] b)
                        throws StreamException
Description copied from class: StreamFactory
バイト列を基にストリームを作成します。
返り値のストリームにはストリームプロパティが適用されています。
Overrides:
create in class StreamFactoryText

create

public StreamDataObject create()
                        throws StreamException
Description copied from class: StreamFactory
Create a StreamDataObject instance. If data is available from previous calls of "add" methods, the instance will be created using these data. Otherwise, an empty StreamDataObject instance will be returned. This method automatically calls StreamFactory.terminate() in the end. See StreamFactory.initialize() for more details.
返り値のストリームにはストリームプロパティが適用されています。
Overrides:
create in class StreamFactory
Following copied from class: com.infoteria.asteria.flowlibrary2.stream.StreamFactory
Returns:
the new stream object
Throws:
StreamException - in case of an exception

create

public StreamDataObject create(java.lang.String str)
                        throws StreamException
Description copied from class: StreamFactoryText
文字列からストリームを作成します。
返り値のストリームにはストリームプロパティが適用されています。
Overrides:
create in class StreamFactoryText

create

public StreamDataObject create(byte[] b,
                               java.lang.String enc)
                        throws StreamException
Description copied from class: StreamFactoryText
バイト列とエンコーディングを指定してストリームを作成します。
encがnullの場合AutoDetectとなります。
返り値のストリームにはストリームプロパティが適用されています。
Overrides:
create in class StreamFactoryText