org.opensourcephysics.tools
Class XuggleRes

java.lang.Object
  extended by org.opensourcephysics.tools.XuggleRes

public class XuggleRes
extends java.lang.Object

XuggleRes provides access to string resources for Xuggle Diagnostics.

Version:
1.0
Author:
Wolfgang Christian

Method Summary
static java.lang.String getLanguage()
          Gets the language for this locale.
static java.lang.String getString(java.lang.String key)
          Gets the localized value of a string.
static void setLocale(java.util.Locale loc)
          Sets the locale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getString

public static java.lang.String getString(java.lang.String key)
Gets the localized value of a string. If no localized value is found, the key is returned surrounded by exclamation points.

Parameters:
key - the string to localize
Returns:
the localized string

getLanguage

public static java.lang.String getLanguage()
Gets the language for this locale.

Returns:
String

setLocale

public static void setLocale(java.util.Locale loc)
Sets the locale.

Parameters:
loc - the locale