org.apache.chemistry.opencmis.client.mapper
Class Configurator

java.lang.Object
  extended by org.apache.chemistry.opencmis.client.mapper.Configurator

public class Configurator
extends Object


Method Summary
 String getContentType(String fileExtension)
          return an overridden MIME type from a file extension
 String getDefaultDocumentType()
           
 String getDefaultFolderType()
           
static Configurator getInstance()
           
 MetadataParser getParser(String contentType)
           
 Properties getProperties()
           
 PropertyMapper getPropertyMapper(String contentType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.