Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.lucane.client
Class Translation  view Translation download Translation.java

java.lang.Object
  extended byorg.lucane.client.Translation

public class Translation
extends java.lang.Object

Handles translations of messages


Field Summary
private static java.util.ResourceBundle bundle
           
 
Constructor Summary
Translation()
           
 
Method Summary
private static java.lang.String getDirectory()
          Get the directory of the content inside the jar file
protected static void setLocale(java.lang.String lang)
          Places the correct Locale.
static java.lang.String tr(java.lang.String origin)
          Message translaion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundle

private static java.util.ResourceBundle bundle
Constructor Detail

Translation

public Translation()
Method Detail

setLocale

protected static void setLocale(java.lang.String lang)
Places the correct Locale. Load the properties file


tr

public static java.lang.String tr(java.lang.String origin)
Message translaion


getDirectory

private static java.lang.String getDirectory()
Get the directory of the content inside the jar file