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.
Methods inherited from class com.atlassian.bamboo.configuration.DefaultContentHandler |
characters, endDocument, endElement, endPrefixMapping, hasParserFor, 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 |
MimeTypeLoader
public MimeTypeLoader()
loadConfiguration
public void loadConfiguration(InputStream configurationFile)
throws ConfigurationException
- Throws:
ConfigurationException
getMimeTypes
public Map<String,String> getMimeTypes()
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.