View Javadoc

1   package com.loribel.commons.abstraction;
2   
3   /***
4    * Abstraction of a multilanguages String.
5    *
6    * @author Grégory Borelli
7    */
8   public interface GB_StringLng
9   {
10      /***
11       * Get the value of a lng.
12       * Uses ISO 2 letters language.
13       */
14      String getString(
15              String a_lng,
16              boolean a_useDefault);
17  
18      /***
19       * Returns the available languages.
20       * Uses ISO 2 letters language.
21       */
22      String[] getLanguages();
23  
24  }