Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

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

Field Summary
static java.lang.String PLSQL_LANG_NAME
          the name ("PL/SQL") of the PL/SQL language.
protected static LanguageManager s_instance
          static instance of the LanguageManager.

 

Constructor Summary
protected LanguageManager()
           

 

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

 

Field Detail

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 ("PL/SQL") of the PL/SQL language.
See Also:
Constant Field Values
Constructor Detail

LanguageManager

protected LanguageManager()
Method Detail

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.

Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

Copyright © 2003, Oracle. All Rights Reserved.