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

## com.atlassian.bamboo.fileserver
Class MimeTypeLoader

    java.lang.Object
      com.atlassian.bamboo.configuration.DefaultContentHandler
          com.atlassian.bamboo.fileserver.MimeTypeLoader

All Implemented Interfaces:
  ContentHandler

    public class MimeTypeLoader

extends DefaultContentHandler

This class loads the mimetypes xml configuration file.

Nested Class Summary
`class` | `MimeTypeLoader.ExtensionElementParser`
`class` | `MimeTypeLoader.MimeMappingElementParser`
`class` | `MimeTypeLoader.MimeTypeElementParser`

Field Summary

Fields inherited from class com.atlassian.bamboo.configuration.DefaultContentHandler
`DEFAULT_PARSER`

Constructor Summary
`MimeTypeLoader()`

Method Summary
`Map` | `getMimeTypes()`
`void` | `loadConfiguration(InputStream configurationFile)`

Methods inherited from class com.atlassian.bamboo.configuration.DefaultContentHandler
`characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, registerElementParser, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping`

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

Constructor Detail

### MimeTypeLoader

    public MimeTypeLoader()

Method Detail

### loadConfiguration

    public void loadConfiguration(InputStream configurationFile)
                           throws ConfigurationException

  Throws:
    `ConfigurationException`

### getMimeTypes

    public Map getMimeTypes()

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

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.