Interface IFormatter

    • Method Summary

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

      • format

        java.lang.String format​(javax.servlet.http.HttpServletRequest request,
                                java.lang.Object object)
                         throws java.lang.Exception
        From a object return a String to render in HTML.
        Throws:
        java.lang.Exception
      • parse

        java.lang.Object parse​(javax.servlet.http.HttpServletRequest request,
                               java.lang.String string)
                        throws java.lang.Exception
        From a String obtained from a HTTP request return a java object.
        Throws:
        java.lang.Exception