de.glossmaker.gloss.language
Class Translation

Package class diagram package Translation
java.lang.Object
  extended by de.glossmaker.gloss.language.Translation

public class Translation
extends Object

This class loads the language file. If the language file doesn't exists English default values will be returned.

Author:
Markus Flingelli

Method Summary
 Character getChar(String key)
           
static Translation getInstance()
           
 String getValue(String key)
           
 String getValue(String key, String... str)
           
 void saveFile(String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Translation getInstance()

saveFile

public void saveFile(String fileName)

getValue

public String getValue(String key)

getChar

public Character getChar(String key)

getValue

public String getValue(String key,
                       String... str)


Copyright © 2010 - 2011 Markus Flingelli. All Rights Reserved.