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, wait
convertValue, getMappedPropertyId, reset
protected String[] contentTypes
protected String cmisTypeId
protected String propPrefix
protected String dateFormat
public boolean initialize(String cfgPrefix, String typeKey, Properties properties)
PropertyMapper
initialize
in interface PropertyMapper
cfgPrefix
- 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()
PropertyMapper
getMappedTypeId
in interface PropertyMapper
public String[] getContentTypes()
PropertyMapper
getContentTypes
in interface PropertyMapper
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.