com.infoteria.asteria.flowlibrary2.stream
Class StreamDataMIME

java.lang.Object
  |
  +--com.infoteria.asteria.flowlibrary2.stream.StreamDataObject
        |
        +--com.infoteria.asteria.flowlibrary2.stream.StreamDataBinaryBase
              |
              +--com.infoteria.asteria.flowlibrary2.stream.StreamDataMIME
All Implemented Interfaces:
RecordSet, java.io.Serializable

public class StreamDataMIME
extends StreamDataBinaryBase

MIMEストリーム

See Also:
Serialized Form

Inner Class Summary
static class StreamDataMIME.Type
          MIMEタイプを表す内部クラス
 
Field Summary
static int DEFAULT_OPTION
           
static StreamDataMIME.Type TYPE_HTTP
          HTTPで使用されるMIMEを表すシンボル
static StreamDataMIME.Type TYPE_MIME
          メールで使用されるMIMEを表すシンボル
 
Fields inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataObject
PROPERTY_FILEPATH
 
Constructor Summary
StreamDataMIME()
          空のストリームを作成します。
MIMEタイプはTYPE_HTTPになります。
StreamDataMIME(byte[] b)
          バイト列を元にストリームを作成します。 MIMEタイプはTYPE_HTTPになります。
StreamDataMIME(byte[] b, StreamDataMIME.Type type)
          バイト列とMIMEタイプを指定してストリームを作成します。
 
Method Summary
 StreamDataMIME.Type getMIMEType()
          MIMEタイプを取得します。
static StreamDataMIME.Type strToMIMEType(java.lang.String str)
          文字列からMIMEタイプを取得します。
 
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataBinaryBase
getRecord, getRecordCount
 
Methods inherited from class com.infoteria.asteria.flowlibrary2.stream.StreamDataObject
byteValue, clean, convertToDefaultStrategy, doConvertToDefaultStrategy, getDataInputStream, getDataStringReader, getFieldDefinition, getStreamPropertyNames, getStreamVariable, getStreamVariableCount, getStreamVariableNames, getType, putStreamVariable, strValue, writeCheckpointFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_OPTION

public static final int DEFAULT_OPTION

TYPE_HTTP

public static final StreamDataMIME.Type TYPE_HTTP
HTTPで使用されるMIMEを表すシンボル

TYPE_MIME

public static final StreamDataMIME.Type TYPE_MIME
メールで使用されるMIMEを表すシンボル
Constructor Detail

StreamDataMIME

public StreamDataMIME()
空のストリームを作成します。
MIMEタイプはTYPE_HTTPになります。

StreamDataMIME

public StreamDataMIME(byte[] b)
バイト列を元にストリームを作成します。 MIMEタイプはTYPE_HTTPになります。

StreamDataMIME

public StreamDataMIME(byte[] b,
                      StreamDataMIME.Type type)
バイト列とMIMEタイプを指定してストリームを作成します。
Method Detail

strToMIMEType

public static StreamDataMIME.Type strToMIMEType(java.lang.String str)
文字列からMIMEタイプを取得します。

getMIMEType

public StreamDataMIME.Type getMIMEType()
MIMEタイプを取得します。