View Javadoc

1   package fr.ove.utils;
2   
3   import fr.ove.utils.FormaterRepository;
4   
5   /***
6   * The interface to implement to format an object as a string.
7   *
8   * @author © 2000 DIRAT Laurent
9   * @version 1.0 07/01/2000
10  */
11  public interface Formater {
12      /***
13      * Returns the specified object formatted as a string.
14      * @param formatedObject the formatted object (for structured object, could represents the beginning).
15      * @param formaterRepository where the different other formaters are.
16      * @param obj the object to format.
17      */
18      public String format(String formatedObject, FormaterRepository formaterRepository, Object obj);
19  }