oracle.owb.transformation
Class LanguageManager
java.lang.Object
|
+--oracle.owb.transformation.LanguageManager
- public class LanguageManager
- extends java.lang.Object
This class provides access to all supported languages.
- Author:
- Mark Halvin
- See Also:
Language
|
Method Summary |
Language |
findLanguage(java.lang.String sLanguage)
searches for and returns the Language object with the
given name. |
static LanguageManager |
getInstance()
returns the singleton instance of the LanguageManager. |
java.lang.String[] |
getLanguageNames()
Returns an array of String objects representing the
names of all supported languages. |
Language[] |
getLanguages()
Returns an array of Language objects representing all
supported languages. |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
s_instance
protected static LanguageManager s_instance
- static instance of the
LanguageManager.
PLSQL_LANG_NAME
public static final java.lang.String PLSQL_LANG_NAME
- the name ({@value}) of the PL/SQL {@link Language language}.
LanguageManager
protected LanguageManager()
getInstance
public static LanguageManager getInstance()
- returns the singleton instance of the
LanguageManager.
- Returns:
- the one and only
LanguageManager object
getLanguages
public Language[] getLanguages()
- Returns an array of
Language objects representing all
supported languages.
- Returns:
- an array of
Language objects
getLanguageNames
public java.lang.String[] getLanguageNames()
- Returns an array of
String objects representing the
names of all supported languages.
- Returns:
- an array of language names represented as a
String
findLanguage
public Language findLanguage(java.lang.String sLanguage)
- searches for and returns the
Language object with the
given name.
- Parameters:
sLanguage - the name of the language to search for- Returns:
- the
Language object with the requested name,
or null if not found.