| Package | Description |
|---|---|
| net.sf.okapi.common |
Classes commonly used across the whole Okapi Framework.
|
| Modifier and Type | Method and Description |
|---|---|
static LocaleFilter |
LocaleFilter.any()
Creates a filter of the Any type.
|
static LocaleFilter |
LocaleFilter.anyExcept(LocaleId... localeIds)
Creates a filter filtering out the given locales.
|
static LocaleFilter |
LocaleFilter.anyOf(LocaleId... localeIds)
Creates a filter allowing only the given locales.
|
static LocaleFilter |
LocaleFilter.build(String string)
Builds a filter from a configuration string.
|
LocaleFilter |
LocaleFilter.exclude(List<LocaleId> localeIds)
Disallows the locales from a given list of locales.
|
LocaleFilter |
LocaleFilter.exclude(LocaleFilter filter)
Disallows all locales allowed in a given locale filter.
|
LocaleFilter |
LocaleFilter.exclude(LocaleId... localeIds)
Disallows the locales from a given array of locales.
|
LocaleFilter |
LocaleFilter.exclude(LocaleId localeId)
Disallows a given locale.
|
LocaleFilter |
LocaleFilter.exclude(Set<LocaleId> localeIds)
Disallows the locales from a given set of locales.
|
LocaleFilter |
LocaleFilter.excludeLanguage(String... languages)
Disallows the locales which language matches any of the languages from a given array.
|
LocaleFilter |
LocaleFilter.excludeLanguage(String language)
Disallows the locales which language matches a given language.
|
LocaleFilter |
LocaleFilter.excludePattern(String regex)
Disallows all locales matching a given regular expression.
|
LocaleFilter |
LocaleFilter.excludePattern(String regex,
int flags)
Disallows all locales matching a given regular expression with a given set of regex flags.
|
LocaleFilter |
LocaleFilter.excludeRegion(String... regions)
Disallows the locales which region matches any of the regions from a given array.
|
LocaleFilter |
LocaleFilter.excludeRegion(String region)
Disallows the locales which region matches a given region.
|
LocaleFilter |
LocaleFilter.excludeUserPart(String... userParts)
Disallows the locales which user part matches any of the user parts from a given array.
|
LocaleFilter |
LocaleFilter.excludeUserPart(String userPart)
Disallows the locales which user part matches a given user part.
|
LocaleFilter |
LocaleFilter.fromString(String string)
Configures this locale filter from a given configuration string.
|
LocaleFilter |
LocaleFilter.include(List<LocaleId> localeIds)
Allows the locales from a given list of locales.
|
LocaleFilter |
LocaleFilter.include(LocaleFilter filter)
Allows all locales allowed in a given locale filter.
|
LocaleFilter |
LocaleFilter.include(LocaleId... localeIds)
Allows the locales from a given array of locales.
|
LocaleFilter |
LocaleFilter.include(LocaleId localeId)
Allows a given locale.
|
LocaleFilter |
LocaleFilter.include(Set<LocaleId> localeIds)
Allows the locales from a given set of locales.
|
LocaleFilter |
LocaleFilter.includeLanguage(String... languages)
Allows the locales which language matches any of the languages from a given array.
|
LocaleFilter |
LocaleFilter.includeLanguage(String language)
Allows the locales which language matches a given language.
|
LocaleFilter |
LocaleFilter.includePattern(String regex)
Allows all locales matching a given regular expression.
|
LocaleFilter |
LocaleFilter.includePattern(String regex,
int flags)
Allows all locales matching a given regular expression with a given set of regex flags.
|
LocaleFilter |
LocaleFilter.includeRegion(String... regions)
Allows the locales which region matches any of the regions from a given array.
|
LocaleFilter |
LocaleFilter.includeRegion(String region)
Allows the locales which region matches a given region.
|
LocaleFilter |
LocaleFilter.includeUserPart(String... userParts)
Allows the locales which user part matches any of the user parts from a given array.
|
LocaleFilter |
LocaleFilter.includeUserPart(String userPart)
Allows the locales which user part matches a given user part.
|
static LocaleFilter |
LocaleFilter.none()
Creates a filter of the None type.
|
LocaleFilter |
LocaleFilter.reset()
Resets this locale filter to its original right-after-construction state (all settings made with includeXX(),
excludeXX() are neglected).
|
| Modifier and Type | Method and Description |
|---|---|
LocaleFilter |
LocaleFilter.exclude(LocaleFilter filter)
Disallows all locales allowed in a given locale filter.
|
LocaleFilter |
LocaleFilter.include(LocaleFilter filter)
Allows all locales allowed in a given locale filter.
|
Copyright © 2022. All rights reserved.