org.apache.cayenne.dataview
Class MapFormat
java.lang.Object
java.text.Format
org.apache.cayenne.dataview.MapFormat
- All Implemented Interfaces:
- Serializable, Cloneable
public class MapFormat
- extends Format
- See Also:
- Serialized Form
MapFormat
public MapFormat()
MapFormat
public MapFormat(String pattern,
Class valueClass)
MapFormat
public MapFormat(Object[] values,
String[] formats)
setEntryDelimiter
public void setEntryDelimiter(char delimiter)
getEntryDelimiter
public char getEntryDelimiter()
setValueFormatDelimiter
public void setValueFormatDelimiter(char delimiter)
getValueFormatDelimiter
public char getValueFormatDelimiter()
setNullValueDesignation
public void setNullValueDesignation(String nullValueDesignation)
getNullValueDesignation
public String getNullValueDesignation()
getNullFormat
public String getNullFormat()
setMap
public void setMap(Object[] values,
String[] formats)
getValues
public Object[] getValues()
getFormats
public String[] getFormats()
applyPattern
public void applyPattern(String pattern)
applyPattern
public void applyPattern(String pattern,
Class valueClass)
parseObject
public Object parseObject(String text,
ParsePosition status)
- Specified by:
parseObject
in class Format
format
public StringBuffer format(Object obj,
StringBuffer toAppendTo,
FieldPosition pos)
- Specified by:
format
in class Format
toPattern
public String toPattern()
Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.