org.basex.core
Class Lang

java.lang.Object
  extended by org.basex.core.Lang

public final class Lang
extends Object

This class loads language specific texts when the lang(java.lang.String) method is called for the first time.

Author:
Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen, Andreas Weiler

Method Summary
static String lang(String key)
          Returns the specified string.
static String lang(String key, Object... e)
          Returns the specified string with some text extensions included.
static String[][] parse()
          Parses all available language files and returns the names and credits.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

lang

public static String lang(String key)
Returns the specified string.

Parameters:
key - key
Returns:
string

lang

public static String lang(String key,
                          Object... e)
Returns the specified string with some text extensions included.

Parameters:
key - key
e - text text extensions
Returns:
string

parse

public static String[][] parse()
Parses all available language files and returns the names and credits.

Returns:
language arrays