com.ibm.etill.framework.io
Interface MimeConst

All Known Implementing Classes:
MimeOutputStream, MimeInputStream

public interface MimeConst

This class defines the constants used in the Mime messages
All these values comes from the SET book appendix E. Please read this appendix if you want to understand why and how these values are used.


Field Summary
static int MAX_SIZE_MIMEHEADER
          A Mime Header is expected to be smaller than MAX_SIZE_MIMEHEADER.
static String MHL_CTENCODING
           
static String MHL_CTENCODING_7BIT
           
static String MHL_CTENCODING_BIN
           
static String MHL_CTYPE
           
static String MHL_CTYPE_APP_PAYMENT
           
static String MHL_CTYPE_APP_REGISTRATION
           
static String MHL_CTYPE_CLASS
           
static String MHL_CTYPE_CLASS_CLOSING
           
static String MHL_CTYPE_CLASS_FAILED
           
static String MHL_CTYPE_CLASS_INFO
           
static String MHL_CTYPE_CLASS_RETRY
           
static String MHL_CTYPE_CONTROL
           
static String MHL_CTYPE_CONTROL_CLOSE
           
static String MHL_CTYPE_CONTROL_CLOSER
           
static String MHL_CTYPE_CONTROL_ECHO
           
static String MHL_CTYPE_CONTROL_ECHOR
           
static String MHL_CTYPE_CONTROL_STATUS
           
static String MHL_CTYPE_DELAY
           
static String MHL_CTYPE_MSGTAG
           
static String MHL_CTYPE_SEP
           
static String MHL_CTYPE_TXT
           
static String MHL_EOHEADER
           
static String MHL_EOL
           
static String MHL_EQUAL
           
static String MHL_LENGTH
           
static String MHL_MVERSION
           
static String MHL_SEP
           
static String MHL_SPACE
           
static String MHL_VERSION
           
 

Field Detail

MAX_SIZE_MIMEHEADER

public static final int MAX_SIZE_MIMEHEADER
A Mime Header is expected to be smaller than MAX_SIZE_MIMEHEADER. This value is arbitrary and corresponds to the maximum number of bytes in which a read method tries to find a MIME header before it gives up and throws an exception. If something goes wrong when a method tries to read an InputStream that method can not keep reading and looking for a MIME header for ever.

MHL_EOL

public static final String MHL_EOL

MHL_SEP

public static final String MHL_SEP

MHL_CTYPE_SEP

public static final String MHL_CTYPE_SEP

MHL_SPACE

public static final String MHL_SPACE

MHL_EQUAL

public static final String MHL_EQUAL

MHL_EOHEADER

public static final String MHL_EOHEADER

MHL_MVERSION

public static final String MHL_MVERSION

MHL_VERSION

public static final String MHL_VERSION

MHL_CTYPE

public static final String MHL_CTYPE

MHL_CTYPE_APP_PAYMENT

public static final String MHL_CTYPE_APP_PAYMENT

MHL_CTYPE_APP_REGISTRATION

public static final String MHL_CTYPE_APP_REGISTRATION

MHL_CTYPE_TXT

public static final String MHL_CTYPE_TXT

MHL_CTYPE_MSGTAG

public static final String MHL_CTYPE_MSGTAG

MHL_CTYPE_CONTROL

public static final String MHL_CTYPE_CONTROL

MHL_CTYPE_CONTROL_CLOSE

public static final String MHL_CTYPE_CONTROL_CLOSE

MHL_CTYPE_CONTROL_CLOSER

public static final String MHL_CTYPE_CONTROL_CLOSER

MHL_CTYPE_CONTROL_STATUS

public static final String MHL_CTYPE_CONTROL_STATUS

MHL_CTYPE_CONTROL_ECHO

public static final String MHL_CTYPE_CONTROL_ECHO

MHL_CTYPE_CONTROL_ECHOR

public static final String MHL_CTYPE_CONTROL_ECHOR

MHL_CTYPE_CLASS

public static final String MHL_CTYPE_CLASS

MHL_CTYPE_CLASS_FAILED

public static final String MHL_CTYPE_CLASS_FAILED

MHL_CTYPE_CLASS_RETRY

public static final String MHL_CTYPE_CLASS_RETRY

MHL_CTYPE_CLASS_INFO

public static final String MHL_CTYPE_CLASS_INFO

MHL_CTYPE_CLASS_CLOSING

public static final String MHL_CTYPE_CLASS_CLOSING

MHL_CTYPE_DELAY

public static final String MHL_CTYPE_DELAY

MHL_CTENCODING

public static final String MHL_CTENCODING

MHL_CTENCODING_BIN

public static final String MHL_CTENCODING_BIN

MHL_CTENCODING_7BIT

public static final String MHL_CTENCODING_7BIT

MHL_LENGTH

public static final String MHL_LENGTH