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, Serializable
- public class StreamDataMIME
- extends StreamDataBinaryBase
MIMEストリーム
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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を表すシンボル
StreamDataMIME
public StreamDataMIME()
- 空のストリームを作成します。
MIMEタイプはTYPE_HTTPになります。
StreamDataMIME
public StreamDataMIME(byte[] b)
- バイト列を元にストリームを作成します。
MIMEタイプはTYPE_HTTPになります。
StreamDataMIME
public StreamDataMIME(byte[] b,
StreamDataMIME.Type type)
- バイト列とMIMEタイプを指定してストリームを作成します。
strToMIMEType
public static StreamDataMIME.Type strToMIMEType(String str)
- 文字列からMIMEタイプを取得します。
getMIMEType
public StreamDataMIME.Type getMIMEType()
- MIMEタイプを取得します。
byteValue
public byte[] byteValue()
throws StreamException
- Description copied from class:
StreamDataBinaryBase
- ストリームのバイト表現。
- Overrides:
byteValue
in class StreamDataBinaryBase
- Following copied from class:
com.infoteria.asteria.flowlibrary2.stream.StreamDataBinaryBase
- Throws:
StreamException
- パースが発生し、それに失敗した場合
strValue
public String strValue()
throws StreamException
- Description copied from class:
StreamDataObject
- ストリームの文字列値を取得します。
- Overrides:
strValue
in class StreamDataObject
- Following copied from class:
com.infoteria.asteria.flowlibrary2.stream.StreamDataObject
- Throws:
StreamException
- パースが発生し、それに失敗した場合