org.mentawai.formatter
Interface Formatter

All Known Implementing Classes:
DateFormatter, NumberFormatter

public interface Formatter

This is a simple interface to format an object from the action output. Check one of its implementations that comes with Mentawai before implementing this class.

Author:
Sergio Oliveira

Method Summary
 String format(Object value, Locale loc)
          Formats an output object from this action.
 

Method Detail

format

String format(Object value,
              Locale loc)
Formats an output object from this action.

Parameters:
value - The value to format
loc - The locale to use (if needed)
Returns:
The value formatted to a String


Copyright © 2013. All Rights Reserved.