|
|||||||||
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.StreamFactoryBinary | +--com.infoteria.asteria.flowlibrary2.stream.StreamFactoryMIME
MIMEのストリームファクトリ。
StreamFactory#getTypeがStreamType.MIMEを返す場合このクラスにキャストできます。
Method Summary | |
StreamDataObject |
create()
空のストリームを作成します。 返り値のストリームにはストリームプロパティが適用されています。 |
StreamDataObject |
create(byte[] b)
バイト列を基にストリームを作成します。 返り値のストリームにはストリームプロパティが適用されています。 MIMETypeはStreamDataMIME.TYPE_HTTPになります。 |
StreamDataMIME |
create(byte[] b,
StreamDataMIME.Type type)
バイト列とMIMETypeを指定してストリームを作成します。 返り値のストリームにはストリームプロパティが適用されています。 |
StreamDataObject |
createEmptyStream()
"Content-Length: 0"のみを設定したMIMEストリームを作成して返します。 |
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamFactory |
addProperty, compare, create, create, 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 |
public StreamDataObject create(byte[] b) throws StreamException
create
in class StreamFactoryBinary
public StreamDataObject create() throws StreamException
create
in class StreamFactoryBinary
public StreamDataMIME create(byte[] b, StreamDataMIME.Type type) throws StreamException
public StreamDataObject createEmptyStream() throws StreamException
createEmptyStream
in class StreamFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |