org.basex.core
Class Lang

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

public final class Lang
extends java.lang.Object

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

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

Method Summary
static java.lang.String lang(java.lang.String key)
          Returns the specified string.
static void read(java.lang.String lang, boolean chk)
          Reads the specified language file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

read

public static void read(java.lang.String lang,
                        boolean chk)
Reads the specified language file.

Parameters:
lang - language
chk - check flag

lang

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

Parameters:
key - key
Returns:
string