Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.novell.nds.dirxml.util.mail
Class MailMessagePart.SpecifiedMimeTypeMap

    java.lang.Object
      javax.activation.FileTypeMap
          com.novell.nds.dirxml.util.mail.MailMessagePart.SpecifiedMimeTypeMap

Enclosing class:
  MailMessagePart

    public static class MailMessagePart.SpecifiedMimeTypeMap

extends javax.activation.FileTypeMap

Extension of FileTypeMap to allow a specify mime-type specified in the XML description to override whatever FileTypeMap would return

Constructor Summary
`MailMessagePart.SpecifiedMimeTypeMap(String mimeType)`

Method Summary
`String` | `getContentType(File file)`
`String` | `getContentType(String filename)`

Methods inherited from class javax.activation.FileTypeMap
`getDefaultFileTypeMap, setDefaultFileTypeMap`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MailMessagePart.SpecifiedMimeTypeMap

    public MailMessagePart.SpecifiedMimeTypeMap(String mimeType)
                                         throws javax.activation.MimeTypeParseException

Throws:
  `javax.activation.MimeTypeParseException`

Method Detail

### getContentType

    public String getContentType(File file)

  Specified by:
    `getContentType` in class `javax.activation.FileTypeMap`

### getContentType

    public String getContentType(String filename)

  Specified by:
    `getContentType` in class `javax.activation.FileTypeMap`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD