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 Collator
Deprecated.The collator for this application.private final DocEnv
Deprecated.Enclosing DocEnv(package private) final Locale
Deprecated.The locale to be used.(package private) final String
Deprecated.The locale name will be set by Main, if option is provided on the command line.private final BreakIterator
Deprecated.Sentence instance from the BreakIterator.(package private) static final String[]
Deprecated.The HTML sentence terminators.private boolean
Deprecated.True is we should useBreakIterator
to compute first sentence. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String
Deprecated.Return the first sentence of a string, where a sentence ends with a period followed be white space.private Locale
Deprecated.Get the locale if specified on the command line else return null and if locale option is not used then return default locale.private boolean
htmlSentenceTerminatorFound
(String str, int index) Deprecated.Find out if there is any HTML tag in the given string.(package private) String
localeSpecificFirstSentence
(DocImpl doc, String s) Deprecated.private Locale
searchLocale
(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 useBreakIterator
to 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.
-