jET
1.0beta1


org.jet
Class JetResources

java.lang.Object
  |
  +--org.jet.JetResources

public class JetResources
extends java.lang.Object

A source of locale text manipulation.

To get an instance of this class use static mathod getInstance.


Method Summary
static JetResources getInstance()
          Gets the instance of this class.
 java.lang.String translate(java.lang.String str)
          Translates given string with current (default) locale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static JetResources getInstance()
Gets the instance of this class.

Returns:
Jet resource.

translate

public java.lang.String translate(java.lang.String str)
Translates given string with current (default) locale.

Locale dependent data is stored in i18n directory.

Parameters:
str - String to translate.
Returns:
Translated string.

jET
1.0beta1