public abstract class AbstractPropertyMapper extends Object implements PropertyMapper
| Modifier and Type | Field and Description |
|---|---|
protected String |
cmisTypeId |
protected String[] |
contentTypes |
protected String |
dateFormat |
protected String |
propPrefix |
| Constructor and Description |
|---|
AbstractPropertyMapper() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getContentTypes()
get all content types handled by this parser
|
String |
getMappedTypeId()
return the CMIS type id used for this mapper
|
boolean |
initialize(String cfgPrefix,
String typeKey,
Properties properties)
initialize a property mapper
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertValue, getMappedPropertyId, resetprotected String[] contentTypes
protected String cmisTypeId
protected String propPrefix
protected String dateFormat
public boolean initialize(String cfgPrefix, String typeKey, Properties properties)
PropertyMapperinitialize in interface PropertyMappercfgPrefix - prefix for all configuration entries in properties filetypeKey - type key in configuration used to identify this typeproperties - all properties read from resource mapping.propertiespublic String getMappedTypeId()
PropertyMappergetMappedTypeId in interface PropertyMapperpublic String[] getContentTypes()
PropertyMappergetContentTypes in interface PropertyMapperCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.