org.apache.chemistry.opencmis.client.mapper
Class Configurator
java.lang.Object
org.apache.chemistry.opencmis.client.mapper.Configurator
public class Configurator
- extends java.lang.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(java.lang.String contentType)
getParser
public MetadataParser getParser(java.lang.String contentType)
getDefaultDocumentType
public java.lang.String getDefaultDocumentType()
getDefaultFolderType
public java.lang.String getDefaultFolderType()
getProperties
public final java.util.Properties getProperties()
getContentType
public java.lang.String getContentType(java.lang.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.