Package 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
Nested Classes Modifier and Type Class Description class
MimeTypeLoader.ExtensionElementParser
class
MimeTypeLoader.MimeMappingElementParser
class
MimeTypeLoader.MimeTypeElementParser
-
Constructor Summary
Constructors Constructor Description MimeTypeLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getMimeTypes()
void
loadConfiguration(InputStream configurationFile)
-
Methods inherited from class com.atlassian.bamboo.configuration.DefaultContentHandler
characters, endDocument, endElement, endPrefixMapping, hasParserFor, ignorableWhitespace, processingInstruction, registerElementParser, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
-
-
-
-
Method Detail
-
loadConfiguration
public void loadConfiguration(InputStream configurationFile) throws ConfigurationException
- Throws:
ConfigurationException
-
-