org.openxava.formatters
Class StringTimeFormatter

java.lang.Object
  extended by org.openxava.formatters.TimeBaseFormatter
      extended by org.openxava.formatters.StringTimeFormatter
All Implemented Interfaces:
IFormatter

public class StringTimeFormatter
extends TimeBaseFormatter


Nested Class Summary
 
Nested classes/interfaces inherited from class org.openxava.formatters.TimeBaseFormatter
TimeBaseFormatter.TimeData
 
Constructor Summary
StringTimeFormatter()
           
 
Method Summary
 java.lang.Object parse(HttpServletRequest request, java.lang.String string)
          From a String obtained from a HTTP request return a java object.
 
Methods inherited from class org.openxava.formatters.TimeBaseFormatter
format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringTimeFormatter

public StringTimeFormatter()
Method Detail

parse

public java.lang.Object parse(HttpServletRequest request,
                              java.lang.String string)
                       throws java.text.ParseException
Description copied from interface: IFormatter
From a String obtained from a HTTP request return a java object.

Specified by:
parse in interface IFormatter
Overrides:
parse in class TimeBaseFormatter
Throws:
java.text.ParseException