org.compass.core.converter.basic
Interface FormatConverter

All Superinterfaces:
Converter, ResourcePropertyConverter
All Known Implementing Classes:
AbstractFormatConverter, AbstractNumberConverter, AtomicIntConverter, AtomicLongConverter, BigDecimalConverter, BigIntegerConverter, CalendarConverter, DateConverter, DoubleConverter, FloatConverter, IntConverter, LongConverter, ShortConverter, SqlDateConverter, SqlTimeConverter, SqlTimestampConverter

public interface FormatConverter
extends ResourcePropertyConverter

A Converter that can handle format parameter.

Author:
kimchy

Method Summary
 FormatConverter copy()
          Returns a copy of the format converter.
 void setFormat(String format)
          Sets the format for the Converter.
 
Methods inherited from interface org.compass.core.converter.mapping.ResourcePropertyConverter
canNormalize, fromString, suggestIndex, suggestOmitNorms, suggestOmitTf, suggestStore, suggestTermVector, toString
 
Methods inherited from interface org.compass.core.converter.Converter
marshall, unmarshall
 

Method Detail

setFormat

void setFormat(String format)
Sets the format for the Converter.


copy

FormatConverter copy()
Returns a copy of the format converter.



Copyright (c) 2004-2008 The Compass Project.