Class DocLocale
java.lang.Object
gw.gosudoc.com.sun.tools.javadoc.main.DocLocale
Deprecated.
This class holds the information about locales.
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
- Since:
- 1.4
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final CollatorDeprecated.The collator for this application.private final DocEnvDeprecated.Enclosing DocEnv(package private) final LocaleDeprecated.The locale to be used.(package private) final StringDeprecated.The locale name will be set by Main, if option is provided on the command line.private final BreakIteratorDeprecated.Sentence instance from the BreakIterator.(package private) static final String[]Deprecated.The HTML sentence terminators.private booleanDeprecated.True is we should useBreakIteratorto compute first sentence. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate StringDeprecated.Return the first sentence of a string, where a sentence ends with a period followed be white space.private LocaleDeprecated.Get the locale if specified on the command line else return null and if locale option is not used then return default locale.private booleanhtmlSentenceTerminatorFound(String str, int index) Deprecated.Find out if there is any HTML tag in the given string.(package private) StringlocaleSpecificFirstSentence(DocImpl doc, String s) Deprecated.private LocalesearchLocale(String language, String country, String variant) Deprecated.Search the locale for specified language, specified country and specified variant.
-
Field Details
-
localeName
Deprecated.The locale name will be set by Main, if option is provided on the command line. -
locale
Deprecated.The locale to be used. If user doesn't provide this, then set it to default locale value. -
collator
Deprecated.The collator for this application. This is to take care of Locale Specific or Natural Language Text sorting. -
docenv
Deprecated.Enclosing DocEnv -
sentenceBreaker
Deprecated.Sentence instance from the BreakIterator. -
useBreakIterator
private boolean useBreakIteratorDeprecated.True is we should useBreakIteratorto compute first sentence. -
sentenceTerminators
Deprecated.The HTML sentence terminators.
-
-
Constructor Details
-
DocLocale
Deprecated.Constructor
-
-
Method Details
-
getLocale
Deprecated.Get the locale if specified on the command line else return null and if locale option is not used then return default locale. -
searchLocale
Deprecated.Search the locale for specified language, specified country and specified variant. -
localeSpecificFirstSentence
Deprecated. -
englishLanguageFirstSentence
Deprecated.Return the first sentence of a string, where a sentence ends with a period followed be white space. -
htmlSentenceTerminatorFound
Deprecated.Find out if there is any HTML tag in the given string. If found return true else return false.
-