Interface IMultipleValuesFormatter

All Known Implementing Classes:
DateTimeSeparatedFormatter, MultipleValuesByPassFormatter

public interface IMultipleValuesFormatter
For convert to String [] (used in HTML page) to Object (used in java side), and vice versa.

Author:
Javier Paniza
  • Method Summary

    Modifier and Type
    Method
    Description
    format(javax.servlet.http.HttpServletRequest request, Object object)
    From a object return a String [] to render in HTML.
    parse(javax.servlet.http.HttpServletRequest request, String[] string)
    From a String [] obtained from a HTTP request return a java object.
  • Method Details

    • format

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

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