IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Shared API for package java.text
editShared API for package java.text
editSee the Shared API for a high-level overview of all packages and classes.
Annotation
edit- Annotation(Object)
- boolean equals(Object)
- def getValue()
- int hashCode()
- null toString()
AttributedCharacterIterator
edit- def clone()
- char current()
- boolean equals(Object)
- char first()
- Set getAllAttributeKeys()
- def getAttribute(AttributedCharacterIterator.Attribute)
- Map getAttributes()
- int getBeginIndex()
- int getEndIndex()
- int getIndex()
- int getRunLimit()
- int getRunLimit(Set)
- int getRunStart()
- int getRunStart(Set)
- int hashCode()
- char last()
- char next()
- char previous()
- char setIndex(int)
- null toString()
AttributedCharacterIterator.Attribute
editAttributedString
edit- AttributedString(null)
- AttributedString(null, Map)
- void addAttribute(AttributedCharacterIterator.Attribute, Object)
- void addAttribute(AttributedCharacterIterator.Attribute, Object, int, int)
- void addAttributes(Map, int, int)
- boolean equals(Object)
- AttributedCharacterIterator getIterator()
- AttributedCharacterIterator getIterator(AttributedCharacterIterator.Attribute[])
- AttributedCharacterIterator getIterator(AttributedCharacterIterator.Attribute[], int, int)
- int hashCode()
- null toString()
Bidi
edit- static int DIRECTION_DEFAULT_LEFT_TO_RIGHT
- static int DIRECTION_DEFAULT_RIGHT_TO_LEFT
- static int DIRECTION_LEFT_TO_RIGHT
- static int DIRECTION_RIGHT_TO_LEFT
- static void reorderVisually(byte[], int, Object[], int, int)
- static boolean requiresBidi(char[], int, int)
- Bidi(AttributedCharacterIterator)
- Bidi(null, int)
- Bidi(char[], int, byte[], int, int, int)
- boolean baseIsLeftToRight()
- Bidi createLineBidi(int, int)
- boolean equals(Object)
- int getBaseLevel()
- int getLength()
- int getLevelAt(int)
- int getRunCount()
- int getRunLevel(int)
- int getRunLimit(int)
- int getRunStart(int)
- int hashCode()
- boolean isLeftToRight()
- boolean isMixed()
- boolean isRightToLeft()
- null toString()
BreakIterator
edit- static int DONE
- static Locale[] getAvailableLocales()
- static BreakIterator getCharacterInstance()
- static BreakIterator getCharacterInstance(Locale)
- static BreakIterator getLineInstance()
- static BreakIterator getLineInstance(Locale)
- static BreakIterator getSentenceInstance()
- static BreakIterator getSentenceInstance(Locale)
- static BreakIterator getWordInstance()
- static BreakIterator getWordInstance(Locale)
- def clone()
- int current()
- boolean equals(Object)
- int first()
- int following(int)
- CharacterIterator getText()
- int hashCode()
- boolean isBoundary(int)
- int last()
- int next()
- int next(int)
- int preceding(int)
- int previous()
- void setText(null)
- null toString()
CharacterIterator
editChoiceFormat
edit- static double nextDouble(double)
- static double nextDouble(double, boolean)
- static double previousDouble(double)
- ChoiceFormat(null)
- ChoiceFormat(double[], null[])
- void applyPattern(null)
- def clone()
- boolean equals(Object)
- null format(Object)
- StringBuffer format(Object, StringBuffer, FieldPosition)
- AttributedCharacterIterator formatToCharacterIterator(Object)
- Currency getCurrency()
- def[] getFormats()
- double[] getLimits()
- int getMaximumFractionDigits()
- int getMaximumIntegerDigits()
- int getMinimumFractionDigits()
- int getMinimumIntegerDigits()
- RoundingMode getRoundingMode()
- int hashCode()
- boolean isGroupingUsed()
- boolean isParseIntegerOnly()
- Number parse(null)
- Number parse(null, ParsePosition)
- Object parseObject(null)
- Object parseObject(null, ParsePosition)
- void setChoices(double[], null[])
- void setCurrency(Currency)
- void setGroupingUsed(boolean)
- void setMaximumFractionDigits(int)
- void setMaximumIntegerDigits(int)
- void setMinimumFractionDigits(int)
- void setMinimumIntegerDigits(int)
- void setParseIntegerOnly(boolean)
- void setRoundingMode(RoundingMode)
- null toPattern()
- null toString()
CollationElementIterator
edit- static int NULLORDER
- static int primaryOrder(int)
- static short secondaryOrder(int)
- static short tertiaryOrder(int)
- boolean equals(Object)
- int getMaxExpansion(int)
- int getOffset()
- int hashCode()
- int next()
- int previous()
- void reset()
- void setOffset(int)
- void setText(null)
- null toString()
CollationKey
edit- int compareTo(CollationKey)
- boolean equals(Object)
- null getSourceString()
- int hashCode()
- byte[] toByteArray()
- null toString()
Collator
edit- static int CANONICAL_DECOMPOSITION
- static int FULL_DECOMPOSITION
- static int IDENTICAL
- static int NO_DECOMPOSITION
- static int PRIMARY
- static int SECONDARY
- static int TERTIARY
- static Locale[] getAvailableLocales()
- static Collator getInstance()
- static Collator getInstance(Locale)
- def clone()
- int compare(def, def)
- boolean equals(Object)
- boolean equals(null, null)
- CollationKey getCollationKey(null)
- int getDecomposition()
- int getStrength()
- int hashCode()
- Comparator reversed()
- void setDecomposition(int)
- void setStrength(int)
- Comparator thenComparing(Comparator)
- Comparator thenComparing(Function, Comparator)
- Comparator thenComparingDouble(ToDoubleFunction)
- Comparator thenComparingInt(ToIntFunction)
- Comparator thenComparingLong(ToLongFunction)
- null toString()
DateFormat
edit- static int AM_PM_FIELD
- static int DATE_FIELD
- static int DAY_OF_WEEK_FIELD
- static int DAY_OF_WEEK_IN_MONTH_FIELD
- static int DAY_OF_YEAR_FIELD
- static int DEFAULT
- static int ERA_FIELD
- static int FULL
- static int HOUR0_FIELD
- static int HOUR1_FIELD
- static int HOUR_OF_DAY0_FIELD
- static int HOUR_OF_DAY1_FIELD
- static int LONG
- static int MEDIUM
- static int MILLISECOND_FIELD
- static int MINUTE_FIELD
- static int MONTH_FIELD
- static int SECOND_FIELD
- static int SHORT
- static int TIMEZONE_FIELD
- static int WEEK_OF_MONTH_FIELD
- static int WEEK_OF_YEAR_FIELD
- static int YEAR_FIELD
- static Locale[] getAvailableLocales()
- static DateFormat getDateInstance()
- static DateFormat getDateInstance(int)
- static DateFormat getDateInstance(int, Locale)
- static DateFormat getDateTimeInstance()
- static DateFormat getDateTimeInstance(int, int)
- static DateFormat getDateTimeInstance(int, int, Locale)
- static DateFormat getInstance()
- static DateFormat getTimeInstance()
- static DateFormat getTimeInstance(int)
- static DateFormat getTimeInstance(int, Locale)
- def clone()
- boolean equals(Object)
- null format(Object)
- StringBuffer format(Object, StringBuffer, FieldPosition)
- AttributedCharacterIterator formatToCharacterIterator(Object)
- Calendar getCalendar()
- NumberFormat getNumberFormat()
- TimeZone getTimeZone()
- int hashCode()
- boolean isLenient()
- Date parse(null)
- Date parse(null, ParsePosition)
- Object parseObject(null)
- Object parseObject(null, ParsePosition)
- void setCalendar(Calendar)
- void setLenient(boolean)
- void setNumberFormat(NumberFormat)
- void setTimeZone(TimeZone)
- null toString()
DateFormat.Field
edit- static DateFormat.Field AM_PM
- static DateFormat.Field DAY_OF_MONTH
- static DateFormat.Field DAY_OF_WEEK
- static DateFormat.Field DAY_OF_WEEK_IN_MONTH
- static DateFormat.Field DAY_OF_YEAR
- static DateFormat.Field ERA
- static DateFormat.Field HOUR0
- static DateFormat.Field HOUR1
- static DateFormat.Field HOUR_OF_DAY0
- static DateFormat.Field HOUR_OF_DAY1
- static DateFormat.Field MILLISECOND
- static DateFormat.Field MINUTE
- static DateFormat.Field MONTH
- static DateFormat.Field SECOND
- static DateFormat.Field TIME_ZONE
- static DateFormat.Field WEEK_OF_MONTH
- static DateFormat.Field WEEK_OF_YEAR
- static DateFormat.Field YEAR
- static DateFormat.Field ofCalendarField(int)
- boolean equals(Object)
- int getCalendarField()
- int hashCode()
- null toString()
DateFormatSymbols
edit- static Locale[] getAvailableLocales()
- static DateFormatSymbols getInstance()
- static DateFormatSymbols getInstance(Locale)
- DateFormatSymbols()
- DateFormatSymbols(Locale)
- def clone()
- boolean equals(Object)
- null[] getAmPmStrings()
- null[] getEras()
- null getLocalPatternChars()
- null[] getMonths()
- null[] getShortMonths()
- null[] getShortWeekdays()
- null[] getWeekdays()
- null[][] getZoneStrings()
- int hashCode()
- void setAmPmStrings(null[])
- void setEras(null[])
- void setLocalPatternChars(null)
- void setMonths(null[])
- void setShortMonths(null[])
- void setShortWeekdays(null[])
- void setWeekdays(null[])
- void setZoneStrings(null[][])
- null toString()
DecimalFormat
edit- DecimalFormat()
- DecimalFormat(null)
- DecimalFormat(null, DecimalFormatSymbols)
- void applyLocalizedPattern(null)
- void applyPattern(null)
- def clone()
- boolean equals(Object)
- null format(Object)
- StringBuffer format(Object, StringBuffer, FieldPosition)
- AttributedCharacterIterator formatToCharacterIterator(Object)
- Currency getCurrency()
- DecimalFormatSymbols getDecimalFormatSymbols()
- int getGroupingSize()
- int getMaximumFractionDigits()
- int getMaximumIntegerDigits()
- int getMinimumFractionDigits()
- int getMinimumIntegerDigits()
- int getMultiplier()
- null getNegativePrefix()
- null getNegativeSuffix()
- null getPositivePrefix()
- null getPositiveSuffix()
- RoundingMode getRoundingMode()
- int hashCode()
- boolean isDecimalSeparatorAlwaysShown()
- boolean isGroupingUsed()
- boolean isParseBigDecimal()
- boolean isParseIntegerOnly()
- Number parse(null)
- Number parse(null, ParsePosition)
- Object parseObject(null)
- Object parseObject(null, ParsePosition)
- void setCurrency(Currency)
- void setDecimalFormatSymbols(DecimalFormatSymbols)
- void setDecimalSeparatorAlwaysShown(boolean)
- void setGroupingSize(int)
- void setGroupingUsed(boolean)
- void setMaximumFractionDigits(int)
- void setMaximumIntegerDigits(int)
- void setMinimumFractionDigits(int)
- void setMinimumIntegerDigits(int)
- void setMultiplier(int)
- void setNegativePrefix(null)
- void setNegativeSuffix(null)
- void setParseBigDecimal(boolean)
- void setParseIntegerOnly(boolean)
- void setPositivePrefix(null)
- void setPositiveSuffix(null)
- void setRoundingMode(RoundingMode)
- null toLocalizedPattern()
- null toPattern()
- null toString()
DecimalFormatSymbols
edit- static Locale[] getAvailableLocales()
- static DecimalFormatSymbols getInstance()
- static DecimalFormatSymbols getInstance(Locale)
- DecimalFormatSymbols()
- DecimalFormatSymbols(Locale)
- def clone()
- boolean equals(Object)
- Currency getCurrency()
- null getCurrencySymbol()
- char getDecimalSeparator()
- char getDigit()
- null getExponentSeparator()
- char getGroupingSeparator()
- null getInfinity()
- null getInternationalCurrencySymbol()
- char getMinusSign()
- char getMonetaryDecimalSeparator()
- null getNaN()
- char getPatternSeparator()
- char getPerMill()
- char getPercent()
- char getZeroDigit()
- int hashCode()
- void setCurrency(Currency)
- void setCurrencySymbol(null)
- void setDecimalSeparator(char)
- void setDigit(char)
- void setExponentSeparator(null)
- void setGroupingSeparator(char)
- void setInfinity(null)
- void setInternationalCurrencySymbol(null)
- void setMinusSign(char)
- void setMonetaryDecimalSeparator(char)
- void setNaN(null)
- void setPatternSeparator(char)
- void setPerMill(char)
- void setPercent(char)
- void setZeroDigit(char)
- null toString()
FieldPosition
edit- FieldPosition(int)
- FieldPosition(Format.Field, int)
- boolean equals(Object)
- int getBeginIndex()
- int getEndIndex()
- int getField()
- Format.Field getFieldAttribute()
- int hashCode()
- void setBeginIndex(int)
- void setEndIndex(int)
- null toString()
Format
edit- def clone()
- boolean equals(Object)
- null format(Object)
- StringBuffer format(Object, StringBuffer, FieldPosition)
- AttributedCharacterIterator formatToCharacterIterator(Object)
- int hashCode()
- Object parseObject(null)
- Object parseObject(null, ParsePosition)
- null toString()
MessageFormat
edit- static null format(null, Object[])
- void applyPattern(null)
- def clone()
- boolean equals(Object)
- null format(Object)
- StringBuffer format(Object, StringBuffer, FieldPosition)
- AttributedCharacterIterator formatToCharacterIterator(Object)
- Format[] getFormats()
- Format[] getFormatsByArgumentIndex()
- Locale getLocale()
- int hashCode()
- Object[] parse(null)
- Object[] parse(null, ParsePosition)
- Object parseObject(null)
- Object parseObject(null, ParsePosition)
- void setFormat(int, Format)
- void setFormatByArgumentIndex(int, Format)
- void setFormats(Format[])
- void setFormatsByArgumentIndex(Format[])
- void setLocale(Locale)
- null toPattern()
- null toString()
MessageFormat.Field
editNormalizer
edit- static boolean isNormalized(CharSequence, Normalizer.Form)
- static null normalize(CharSequence, Normalizer.Form)
- boolean equals(Object)
- int hashCode()
- null toString()
Normalizer.Form
editNumberFormat
edit- static int FRACTION_FIELD
- static int INTEGER_FIELD
- static Locale[] getAvailableLocales()
- static NumberFormat getCurrencyInstance()
- static NumberFormat getCurrencyInstance(Locale)
- static NumberFormat getInstance()
- static NumberFormat getInstance(Locale)
- static NumberFormat getIntegerInstance()
- static NumberFormat getIntegerInstance(Locale)
- static NumberFormat getNumberInstance()
- static NumberFormat getNumberInstance(Locale)
- static NumberFormat getPercentInstance()
- static NumberFormat getPercentInstance(Locale)
- def clone()
- boolean equals(Object)
- null format(Object)
- StringBuffer format(Object, StringBuffer, FieldPosition)
- AttributedCharacterIterator formatToCharacterIterator(Object)
- Currency getCurrency()
- int getMaximumFractionDigits()
- int getMaximumIntegerDigits()
- int getMinimumFractionDigits()
- int getMinimumIntegerDigits()
- RoundingMode getRoundingMode()
- int hashCode()
- boolean isGroupingUsed()
- boolean isParseIntegerOnly()
- Number parse(null)
- Number parse(null, ParsePosition)
- Object parseObject(null)
- Object parseObject(null, ParsePosition)
- void setCurrency(Currency)
- void setGroupingUsed(boolean)
- void setMaximumFractionDigits(int)
- void setMaximumIntegerDigits(int)
- void setMinimumFractionDigits(int)
- void setMinimumIntegerDigits(int)
- void setParseIntegerOnly(boolean)
- void setRoundingMode(RoundingMode)
- null toString()
NumberFormat.Field
edit- static NumberFormat.Field CURRENCY
- static NumberFormat.Field DECIMAL_SEPARATOR
- static NumberFormat.Field EXPONENT
- static NumberFormat.Field EXPONENT_SIGN
- static NumberFormat.Field EXPONENT_SYMBOL
- static NumberFormat.Field FRACTION
- static NumberFormat.Field GROUPING_SEPARATOR
- static NumberFormat.Field INTEGER
- static NumberFormat.Field PERCENT
- static NumberFormat.Field PERMILLE
- static NumberFormat.Field SIGN
- boolean equals(Object)
- int hashCode()
- null toString()
ParseException
edit- ParseException(null, int)
- boolean equals(Object)
- int getErrorOffset()
- null getLocalizedMessage()
- null getMessage()
- StackTraceElement[] getStackTrace()
- int hashCode()
- null toString()
ParsePosition
edit- ParsePosition(int)
- boolean equals(Object)
- int getErrorIndex()
- int getIndex()
- int hashCode()
- void setErrorIndex(int)
- void setIndex(int)
- null toString()
RuleBasedCollator
edit- RuleBasedCollator(null)
- def clone()
- int compare(def, def)
- boolean equals(Object)
- boolean equals(null, null)
- CollationElementIterator getCollationElementIterator(null)
- CollationKey getCollationKey(null)
- int getDecomposition()
- null getRules()
- int getStrength()
- int hashCode()
- Comparator reversed()
- void setDecomposition(int)
- void setStrength(int)
- Comparator thenComparing(Comparator)
- Comparator thenComparing(Function, Comparator)
- Comparator thenComparingDouble(ToDoubleFunction)
- Comparator thenComparingInt(ToIntFunction)
- Comparator thenComparingLong(ToLongFunction)
- null toString()
SimpleDateFormat
edit- SimpleDateFormat()
- SimpleDateFormat(null)
- SimpleDateFormat(null, Locale)
- void applyLocalizedPattern(null)
- void applyPattern(null)
- def clone()
- boolean equals(Object)
- null format(Object)
- StringBuffer format(Object, StringBuffer, FieldPosition)
- AttributedCharacterIterator formatToCharacterIterator(Object)
- Date get2DigitYearStart()
- Calendar getCalendar()
- DateFormatSymbols getDateFormatSymbols()
- NumberFormat getNumberFormat()
- TimeZone getTimeZone()
- int hashCode()
- boolean isLenient()
- Date parse(null)
- Date parse(null, ParsePosition)
- Object parseObject(null)
- Object parseObject(null, ParsePosition)
- void set2DigitYearStart(Date)
- void setCalendar(Calendar)
- void setDateFormatSymbols(DateFormatSymbols)
- void setLenient(boolean)
- void setNumberFormat(NumberFormat)
- void setTimeZone(TimeZone)
- null toLocalizedPattern()
- null toPattern()
- null toString()
StringCharacterIterator
edit- StringCharacterIterator(null)
- StringCharacterIterator(null, int)
- StringCharacterIterator(null, int, int, int)
- def clone()
- char current()
- boolean equals(Object)
- char first()
- int getBeginIndex()
- int getEndIndex()
- int getIndex()
- int hashCode()
- char last()
- char next()
- char previous()
- char setIndex(int)
- void setText(null)
- null toString()