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
 void add(byte[] data)
           
 StreamDataObject create(byte[] b)
           
 
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamFactory
addProperty, compare, create, create, create, createEmptyStream, doEquals, 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

add

public void add(byte[] data)
         throws StreamException

create

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