Class LanguagesHelper
java.lang.Object
org.libreoffice.ide.eclipse.core.model.language.LanguagesHelper
Helper class for implementation languages handling.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]static AbstractLanguagegetLanguageFromName(String name) Returns the language corresponding to a language name.
-
Constructor Details
-
LanguagesHelper
public LanguagesHelper()
-
-
Method Details
-
getAvailableLanguageNames
- Returns:
- all the available uno-idl implementation language names installed on the platform.
-
getLanguageFromName
Returns the language corresponding to a language name. The result may be
nullif:- There is no such language name
- The corresponding class cannot be found
- The corresponding class doesn't implement ILanguage
- Parameters:
name- the language name to find- Returns:
- the language object if found,
nullotherwise.
-