Interface Converter

All Known Implementing Classes:
ConverterBase, NullConverter

public interface Converter

This interface is implemented when you want to convert one Object to another. Another way to look at the use of this interface is that it is useful when you want to change the format or transform an input Object to an Output object. For example you could 'convert' an Integer object such as 100000 to a comma delimeted String such as 100,000. One of the main uses of this interface is to format numbers and dates for display, but more generally the concept is that this interface allows you to convert from ANY object to ANY other Object.

View Code

Method Summary
 java.lang.Object convert(java.lang.Object inputObj)
 Converter createInstance()

Method Detail


public java.lang.Object convert(java.lang.Object inputObj)


public Converter createInstance()