Package | Description |
---|---|
com.teamdev.jxbrowser.engine |
This package provides the classes that allow you to work with engines.
|
Modifier and Type | Method and Description |
---|---|
Language |
EngineOptions.language()
Returns the Chromium language that is used on the default error pages and message dialogs.
|
static Language |
Language.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Language[] |
Language.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<Language> |
Language.of(java.util.Locale locale)
Returns an
Optional that contains the Language for the given Locale
or an empty Optional if there is no Language associated with the language
obtained from the given Locale . |
static java.util.Optional<Language> |
Language.of(java.lang.String language,
java.lang.String country)
Returns an
Optional that contains the Language for the given language
and country codes or an empty Optional if there is no Language
associated with the specified language and country codes. |
Modifier and Type | Method and Description |
---|---|
EngineOptions.Builder |
EngineOptions.Builder.language(Language language)
Sets the Chromium language that is used on the default error pages and the message
dialogs.
|