/** * Gets the MIME content subtype. * * @return the MIME content subtype, or null if default */ public String getSubType() { return getFirstValue(MIME_MIME_TYPE_SPACE, MIME_SUB_TYPE_NAME); }
/** * Gets the RFC2183 Content-Disposition disposition-type. * * @return the RFC2183 Content-Disposition, * or null if this meta data is not present */ public String getContentDispositionType() { return getFirstValue(MIME_CONTENT_DISPOSITION_SPACE, MIME_CONTENT_DISPOSITION_TYPE_NAME); }
/** * Gets the RFC1864 Content-MD5. * * @return the RFC1864 Content-MD5, * or null if this meta data is not present */ public String getContentMD5() { return getFirstValue(MIME_CONTENT_MD5_SPACE, MIME_CONTENT_MD5_NAME); }
/** * Gets the RFC2045 Content-Type "charset" parameter. * * @return the RFC2045 Content-Type "charset" parameter, * or null if this meta data is not present */ public String getCharset() { return getFirstValue(MIME_CONTENT_TYPE_PARAMETER_SPACE, MIME_CONTENT_TYPE_PARAMETER_CHARSET_NAME); }
/** * Gets the top level MIME content media type. * * @return top level MIME content media type, or null if default */ public String getMediaType() { return getFirstValue(MIME_MIME_TYPE_SPACE, MIME_MEDIA_TYPE_NAME); }
/** * Gets the MIME Content-ID. * * @return the MIME content subtype, or null if default */ public String getContentID() { return getFirstValue(MIME_CONTENT_ID_SPACE, MIME_CONTENT_ID_NAME); }
/** * Gets the MIME Content-Description. * * @return the MIME Content-Description, * or null if this meta data is not present */ public String getContentDescription() { return getFirstValue(MIME_CONTENT_DESCRIPTION_SPACE, MIME_CONTENT_DESCRIPTION_NAME); }
/** * Gets the RFC2557 Content-Location. * * @return the RFC2557 Content-Location, * or null if this meta data is not present */ public String getContentLocation() { return getFirstValue(MIME_CONTENT_LOCATION_SPACE, MIME_CONTENT_LOCATION_NAME); }
/** * Gets the MIME Content-Transfer-Encoding. * * @return the MIME Content-Transfer-Encoding, * or null if this meta data is not present */ public String getContentTransferEncoding() { return getFirstValue(MIME_CONTENT_TRANSFER_ENCODING_SPACE, MIME_CONTENT_TRANSFER_ENCODING_NAME); }
/** * Gets the RFC2045 Content-Type "boundary" parameter. * * @return the RFC2045 Content-Type "boundary" parameter, * or null if this meta data is not present */ public String getBoundary() { return getFirstValue(MIME_CONTENT_TYPE_PARAMETER_SPACE, MIME_CONTENT_TYPE_PARAMETER_BOUNDARY_NAME); }