com.infoteria.asteria.flowlibrary2.stream
Class StreamFactoryBinary

java.lang.Object
  |
  +--com.infoteria.asteria.flowlibrary2.stream.StreamFactory
        |
        +--com.infoteria.asteria.flowlibrary2.stream.StreamFactoryBinary
Direct Known Subclasses:
StreamFactoryMIME

public class StreamFactoryBinary
extends StreamFactory

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


Method Summary
 StreamDataObject create()
          空のストリームを作成します。
返り値のストリームにはストリームプロパティが適用されています。
 StreamDataObject create(byte[] b)
           
 
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamFactory
addProperty, compare, create, create, createEmptyStream, doEquals, 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

create

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

create

public StreamDataObject create()
                        throws StreamException
空のストリームを作成します。
返り値のストリームにはストリームプロパティが適用されています。