nl.openedge.baritus.converters
Interface Formatter

All Known Subinterfaces:
LocaleFormatter
All Known Implementing Classes:
BaseLocaleConverter

public interface Formatter

Interface for formatting values.

Author:
Eelco Hillenius

Method Summary
 java.lang.String format(java.lang.Object value, java.lang.String pattern)
          Convert the specified input object into a locale-sensitive output string
 

Method Detail

format

public java.lang.String format(java.lang.Object value,
                               java.lang.String pattern)
                        throws java.lang.IllegalArgumentException
Convert the specified input object into a locale-sensitive output string

Parameters:
value - The input object to be formatted
pattern - The pattern is used for the conversion
Throws:
java.lang.IllegalArgumentException - if formatting cannot be performed successfully


Copyright © 2003-2004 Open Edge. All Rights Reserved.