to.etc.domui.converter
Class MsDurationConverter

java.lang.Object
  extended by to.etc.domui.converter.MsDurationConverter
All Implemented Interfaces:
IConverter<java.lang.Long>, IObjectToStringConverter<java.lang.Long>, IStringToObjectConverter<java.lang.Long>

public class MsDurationConverter
extends java.lang.Object
implements IConverter<java.lang.Long>


Constructor Summary
MsDurationConverter()
           
 
Method Summary
 java.lang.String convertObjectToString(java.util.Locale loc, java.lang.Long in)
           
 java.lang.Long convertStringToObject(java.util.Locale loc, java.lang.String in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsDurationConverter

public MsDurationConverter()
Method Detail

convertObjectToString

public java.lang.String convertObjectToString(java.util.Locale loc,
                                              java.lang.Long in)
                                       throws UIException
Specified by:
convertObjectToString in interface IObjectToStringConverter<java.lang.Long>
Throws:
UIException

convertStringToObject

public java.lang.Long convertStringToObject(java.util.Locale loc,
                                            java.lang.String in)
                                     throws UIException
Specified by:
convertStringToObject in interface IStringToObjectConverter<java.lang.Long>
Throws:
UIException