org.apache.chemistry.opencmis.client.mapper
Class Configurator
java.lang.Object
org.apache.chemistry.opencmis.client.mapper.Configurator
public class Configurator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static Configurator getInstance()
getPropertyMapper
public PropertyMapper getPropertyMapper(String contentType)
getParser
public MetadataParser getParser(String contentType)
getDefaultDocumentType
public String getDefaultDocumentType()
getDefaultFolderType
public String getDefaultFolderType()
getProperties
public final Properties getProperties()
getContentType
public String getContentType(String fileExtension)
- return an overridden MIME type from a file extension
- Parameters:
fileExtension
- enforced or content-type or null if none is set
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.