Class FileListFormatter

java.lang.Object
org.openxava.formatters.FileListFormatter
All Implemented Interfaces:
IFormatter

public class FileListFormatter extends Object implements IFormatter
For FILE/ARCHIVO stereotype and @File annotation in list mode.

Author:
Jeromy Altuna, Javier Paniza
  • Constructor Details

    • FileListFormatter

      public FileListFormatter()
  • Method Details

    • format

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

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