Class MoneyFormatter

    • Constructor Summary

      Constructors 
      Constructor Description
      MoneyFormatter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String format​(javax.servlet.http.HttpServletRequest request, MetaProperty metaProperty, java.lang.Object object)
      From a object return a String to render in HTML.
      java.lang.Object parse​(javax.servlet.http.HttpServletRequest request, MetaProperty metaProperty, java.lang.String string)
      From a String obtained from a HTTP request return a java object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MoneyFormatter

        public MoneyFormatter()
    • Method Detail

      • format

        public java.lang.String format​(javax.servlet.http.HttpServletRequest request,
                                       MetaProperty metaProperty,
                                       java.lang.Object object)
                                throws java.lang.Exception
        Description copied from interface: IMetaPropertyFormatter
        From a object return a String to render in HTML.
        Specified by:
        format in interface IMetaPropertyFormatter
        Throws:
        java.lang.Exception
      • parse

        public java.lang.Object parse​(javax.servlet.http.HttpServletRequest request,
                                      MetaProperty metaProperty,
                                      java.lang.String string)
                               throws java.lang.Exception
        Description copied from interface: IMetaPropertyFormatter
        From a String obtained from a HTTP request return a java object.
        Specified by:
        parse in interface IMetaPropertyFormatter
        Throws:
        java.lang.Exception