java.text
35 classes of the module java.base.
Load them with:
using {
"java.text"
}
AttributedCharacterIterator#
interface · java.text.AttributedCharacterIterator
Extends: CharacterIterator
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DONE | char | constant · static | o.DONE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getRunLimit | @getRunLimit(attributes) | int getRunLimit(Set attributes)int getRunLimit(Attribute attribute) |
@getRunStart | @getRunStart(attributes) | int getRunStart(Set attributes)int getRunStart(Attribute attribute) |
@next | @next() | char next() |
clone | clone() | Object clone() |
current | current() | char current() |
first | first() | char first() |
getAllAttributeKeys | getAllAttributeKeys() | Set getAllAttributeKeys() |
getAttribute | getAttribute(attribute) | Object getAttribute(Attribute attribute) |
getAttributes | getAttributes() | Map getAttributes() |
getBeginIndex | getBeginIndex() | int getBeginIndex() |
getEndIndex | getEndIndex() | int getEndIndex() |
getIndex | getIndex() | int getIndex() |
getRunLimit | getRunLimit() | int getRunLimit() |
getRunStart | getRunStart() | int getRunStart() |
last | last() | char last() |
previous | previous() | char previous() |
setIndex | setIndex(position) | char setIndex(int position) |
AttributedCharacterIteratorAttribute#
class · extends Object · java.text.AttributedCharacterIterator$Attribute
Implements: Serializable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
LANGUAGE | Attribute | constant · static | o.LANGUAGE |
READING | Attribute | constant · static | o.READING |
INPUT_METHOD_SEGMENT | Attribute | constant · static | o.INPUT_METHOD_SEGMENT |
The methods and fields of Object are inherited.
AttributedString#
class · extends Object · java.text.AttributedString
Constructors
new AttributedString(AttributedCharacterIterator text) |
new AttributedString(String text) |
new AttributedString(String text, Map attributes) |
new AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex) |
new AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, Attribute[] attributes) |
Ring: new AttributedString(args) uses the constructor with the fewest parameters (at least one); new AttributedString makes the object with the constructor without parameters; the others: (new AttributedString).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getIterator | @getIterator(attributes)@getIterator([attributes,beginIndex,endIndex])@getIterator([ :attributes = v, :beginIndex = v, :endIndex = v ]) | AttributedCharacterIterator getIterator(Attribute[] attributes)AttributedCharacterIterator getIterator(Attribute[] attributes, int beginIndex, int endIndex) |
addAttribute | addAttribute([attribute,value])addAttribute([ :attribute = v, :value = v ])addAttribute([attribute,value,beginIndex,endIndex])addAttribute([ :attribute = v, :value = v, :beginIndex = v, :endIndex = v ]) | void addAttribute(Attribute attribute, Object value)void addAttribute(Attribute attribute, Object value, int beginIndex, int endIndex) |
addAttributes | addAttributes(attributes,beginIndex,endIndex) | void addAttributes(Map attributes, int beginIndex, int endIndex) |
getIterator | getIterator() | AttributedCharacterIterator getIterator() |
The methods and fields of Object are inherited.
Bidi#
class final · extends Object · java.text.Bidi
Constructors
new Bidi(AttributedCharacterIterator paragraph) |
new Bidi(String paragraph, int flags) |
new Bidi(char[] text, int textStart, byte[] embeddings, int embStart, int paragraphLength, int flags) |
Ring: new Bidi(args) uses the constructor with the fewest parameters (at least one); new Bidi makes the object with the constructor without parameters; the others: (new Bidi).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DIRECTION_LEFT_TO_RIGHT | int | constant · static | o.DIRECTION_LEFT_TO_RIGHT |
DIRECTION_RIGHT_TO_LEFT | int | constant · static | o.DIRECTION_RIGHT_TO_LEFT |
DIRECTION_DEFAULT_LEFT_TO_RIGHT | int | constant · static | o.DIRECTION_DEFAULT_LEFT_TO_RIGHT |
DIRECTION_DEFAULT_RIGHT_TO_LEFT | int | constant · static | o.DIRECTION_DEFAULT_RIGHT_TO_LEFT |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
baseIsLeftToRight | baseIsLeftToRight() | boolean baseIsLeftToRight() |
createLineBidi | createLineBidi(lineStart,lineLimit) | Bidi createLineBidi(int lineStart, int lineLimit) |
getBaseLevel | getBaseLevel() | int getBaseLevel() |
getLength | getLength() | int getLength() |
getLevelAt | getLevelAt(offset) | int getLevelAt(int offset) |
getRunCount | getRunCount() | int getRunCount() |
getRunLevel | getRunLevel(run) | int getRunLevel(int run) |
getRunLimit | getRunLimit(run) | int getRunLimit(int run) |
getRunStart | getRunStart(run) | int getRunStart(int run) |
isLeftToRight | isLeftToRight() | boolean isLeftToRight() |
isMixed | isMixed() | boolean isMixed() |
isRightToLeft | isRightToLeft() | boolean isRightToLeft() |
reorderVisually | reorderVisually(levels,levelStart,objects,objectStart,count) | static void reorderVisually(byte[] levels, int levelStart, Object[] objects, int objectStart, int count) |
requiresBidi | requiresBidi(text,start,limit) | static boolean requiresBidi(char[] text, int start, int limit) |
The methods and fields of Object are inherited.
BreakIterator#
abstract · extends Object · java.text.BreakIterator
Implements: Cloneable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DONE | int | constant · static | o.DONE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@@next | @@next(n) | int next(int n) |
@getCharacterInstance | @getCharacterInstance(locale) | static BreakIterator getCharacterInstance(Locale locale) |
@getLineInstance | @getLineInstance(locale) | static BreakIterator getLineInstance(Locale locale) |
@getSentenceInstance | @getSentenceInstance(locale) | static BreakIterator getSentenceInstance(Locale locale) |
@getWordInstance | @getWordInstance(locale) | static BreakIterator getWordInstance(Locale locale) |
@next | @next() | int next() |
clone | clone() | Object clone() |
current | current() | int current() |
first | first() | int first() |
following | following(offset) | int following(int offset) |
getAvailableLocales | getAvailableLocales() | static Locale[] getAvailableLocales() |
getCharacterInstance | getCharacterInstance() | static BreakIterator getCharacterInstance() |
getLineInstance | getLineInstance() | static BreakIterator getLineInstance() |
getSentenceInstance | getSentenceInstance() | static BreakIterator getSentenceInstance() |
getText | getText() | CharacterIterator getText() |
getWordInstance | getWordInstance() | static BreakIterator getWordInstance() |
isBoundary | isBoundary(offset) | boolean isBoundary(int offset) |
last | last() | int last() |
preceding | preceding(offset) | int preceding(int offset) |
previous | previous() | int previous() |
setText | setText(newText) | void setText(CharacterIterator newText)void setText(String newText) |
The methods and fields of Object are inherited.
CharacterIterator#
interface · java.text.CharacterIterator
Extends: Cloneable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DONE | char | constant · static | o.DONE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@next | @next() | char next() |
clone | clone() | Object clone() |
current | current() | char current() |
first | first() | char first() |
getBeginIndex | getBeginIndex() | int getBeginIndex() |
getEndIndex | getEndIndex() | int getEndIndex() |
getIndex | getIndex() | int getIndex() |
last | last() | char last() |
previous | previous() | char previous() |
setIndex | setIndex(position) | char setIndex(int position) |
ChoiceFormat#
class · extends NumberFormat · java.text.ChoiceFormat
Constructors
new ChoiceFormat(String newPattern) |
new ChoiceFormat(double[] limits, String[] formats) |
Ring: new ChoiceFormat(args) uses the constructor with the fewest parameters (at least one); new ChoiceFormat makes the object with the constructor without parameters; the others: (new ChoiceFormat).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
applyPattern | applyPattern(newPattern) | void applyPattern(String newPattern) |
getFormats | getFormats() | Object[] getFormats() |
getLimits | getLimits() | double[] getLimits() |
nextDouble | nextDouble(d)nextDouble([d,positive])nextDouble([ :d = v, :positive = v ]) | static double nextDouble(double d)static double nextDouble(double d, boolean positive) |
previousDouble | previousDouble(d) | static double previousDouble(double d) |
setChoices | setChoices(limits,formats) | void setChoices(double[] limits, String[] formats) |
toPattern | toPattern() | String toPattern() |
The methods and fields of NumberFormat are inherited.
CollationElementIterator#
class final · extends Object · java.text.CollationElementIterator
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NULLORDER | int | constant · static | o.NULLORDER |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@next | @next() | int next() |
getMaxExpansion | getMaxExpansion(order) | int getMaxExpansion(int order) |
getOffset | getOffset() | int getOffset() |
previous | previous() | int previous() |
primaryOrder | primaryOrder(order) | static int primaryOrder(int order) |
reset | reset() | void reset() |
secondaryOrder | secondaryOrder(order) | static short secondaryOrder(int order) |
setOffset | setOffset(newOffset) | void setOffset(int newOffset) |
setText | setText(source) | void setText(String source)void setText(CharacterIterator source) |
tertiaryOrder | tertiaryOrder(order) | static short tertiaryOrder(int order) |
The methods and fields of Object are inherited.
CollationKey#
abstract · extends Object · java.text.CollationKey
Implements: Comparable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
compareTo | compareTo(target) | int compareTo(CollationKey target) |
getSourceString | getSourceString() | String getSourceString() |
toByteArray | toByteArray() | byte[] toByteArray() |
The methods and fields of Object are inherited.
Collator#
abstract · extends Object · java.text.Collator
Implements: Comparator, Cloneable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
PRIMARY | int | constant · static | o.PRIMARY |
SECONDARY | int | constant · static | o.SECONDARY |
TERTIARY | int | constant · static | o.TERTIARY |
IDENTICAL | int | constant · static | o.IDENTICAL |
NO_DECOMPOSITION | int | constant · static | o.NO_DECOMPOSITION |
CANONICAL_DECOMPOSITION | int | constant · static | o.CANONICAL_DECOMPOSITION |
FULL_DECOMPOSITION | int | constant · static | o.FULL_DECOMPOSITION |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getInstance | @getInstance(desiredLocale) | static Collator getInstance(Locale desiredLocale) |
clone | clone() | Object clone() |
compare | compare(o1,o2) | int compare(Object o1, Object o2)int compare(String source, String target) |
equals | equals(that)equals([source,target])equals([ :source = v, :target = v ]) | boolean equals(Object that)boolean equals(String source, String target) |
getAvailableLocales | getAvailableLocales() | static Locale[] getAvailableLocales() |
getCollationKey | getCollationKey(source) | CollationKey getCollationKey(String source) |
getDecomposition | getDecomposition() | int getDecomposition() |
getInstance | getInstance() | static Collator getInstance() |
getStrength | getStrength() | int getStrength() |
reversed | reversed() | Comparator reversed() |
setDecomposition | setDecomposition(decompositionMode) | void setDecomposition(int decompositionMode) |
setStrength | setStrength(newStrength) | void setStrength(int newStrength) |
thenComparing | thenComparing(other)thenComparing([keyExtractor,keyComparator])thenComparing([ :keyExtractor = v, :keyComparator = v ]) | Comparator thenComparing(Comparator other)Comparator thenComparing(Function keyExtractor)Comparator thenComparing(Function keyExtractor, Comparator keyComparator) |
thenComparingDouble | thenComparingDouble(keyExtractor) | Comparator thenComparingDouble(ToDoubleFunction keyExtractor) |
thenComparingInt | thenComparingInt(keyExtractor) | Comparator thenComparingInt(ToIntFunction keyExtractor) |
thenComparingLong | thenComparingLong(keyExtractor) | Comparator thenComparingLong(ToLongFunction keyExtractor) |
The methods and fields of Object are inherited.
CompactNumberFormat#
class final · extends NumberFormat · java.text.CompactNumberFormat
Constructors
new CompactNumberFormat(String decimalPattern, DecimalFormatSymbols symbols, String[] compactPatterns) |
new CompactNumberFormat(String decimalPattern, DecimalFormatSymbols symbols, String[] compactPatterns, String pluralRules) |
Ring: new CompactNumberFormat(args) uses the constructor with the fewest parameters (at least one); new CompactNumberFormat makes the object with the constructor without parameters; the others: (new CompactNumberFormat).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getGroupingSize | getGroupingSize() | int getGroupingSize() |
isParseBigDecimal | isParseBigDecimal() | boolean isParseBigDecimal() |
setGroupingSize | setGroupingSize(newValue) | void setGroupingSize(int newValue) |
setParseBigDecimal | setParseBigDecimal(newValue) | void setParseBigDecimal(boolean newValue) |
The methods and fields of NumberFormat are inherited.
DateFormat#
abstract · extends Format · java.text.DateFormat
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ERA_FIELD | int | constant · static | o.ERA_FIELD |
YEAR_FIELD | int | constant · static | o.YEAR_FIELD |
MONTH_FIELD | int | constant · static | o.MONTH_FIELD |
DATE_FIELD | int | constant · static | o.DATE_FIELD |
HOUR_OF_DAY1_FIELD | int | constant · static | o.HOUR_OF_DAY1_FIELD |
HOUR_OF_DAY0_FIELD | int | constant · static | o.HOUR_OF_DAY0_FIELD |
MINUTE_FIELD | int | constant · static | o.MINUTE_FIELD |
SECOND_FIELD | int | constant · static | o.SECOND_FIELD |
MILLISECOND_FIELD | int | constant · static | o.MILLISECOND_FIELD |
DAY_OF_WEEK_FIELD | int | constant · static | o.DAY_OF_WEEK_FIELD |
DAY_OF_YEAR_FIELD | int | constant · static | o.DAY_OF_YEAR_FIELD |
DAY_OF_WEEK_IN_MONTH_FIELD | int | constant · static | o.DAY_OF_WEEK_IN_MONTH_FIELD |
WEEK_OF_YEAR_FIELD | int | constant · static | o.WEEK_OF_YEAR_FIELD |
WEEK_OF_MONTH_FIELD | int | constant · static | o.WEEK_OF_MONTH_FIELD |
AM_PM_FIELD | int | constant · static | o.AM_PM_FIELD |
HOUR1_FIELD | int | constant · static | o.HOUR1_FIELD |
HOUR0_FIELD | int | constant · static | o.HOUR0_FIELD |
TIMEZONE_FIELD | int | constant · static | o.TIMEZONE_FIELD |
FULL | int | constant · static | o.FULL |
LONG | int | constant · static | o.LONG |
MEDIUM | int | constant · static | o.MEDIUM |
SHORT | int | constant · static | o.SHORT |
DEFAULT | int | constant · static | o.DEFAULT |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getDateInstance | @getDateInstance(style)@getDateInstance([style,aLocale])@getDateInstance([ :style = v, :aLocale = v ]) | static DateFormat getDateInstance(int style)static DateFormat getDateInstance(int style, Locale aLocale) |
@getDateTimeInstance | @getDateTimeInstance([dateStyle,timeStyle])@getDateTimeInstance([ :dateStyle = v, :timeStyle = v ])@getDateTimeInstance([dateStyle,timeStyle,aLocale])@getDateTimeInstance([ :dateStyle = v, :timeStyle = v, :aLocale = v ]) | static DateFormat getDateTimeInstance(int dateStyle, int timeStyle)static DateFormat getDateTimeInstance(int dateStyle, int timeStyle, Locale aLocale) |
@getTimeInstance | @getTimeInstance(style)@getTimeInstance([style,aLocale])@getTimeInstance([ :style = v, :aLocale = v ]) | static DateFormat getTimeInstance(int style)static DateFormat getTimeInstance(int style, Locale aLocale) |
getAvailableLocales | getAvailableLocales() | static Locale[] getAvailableLocales() |
getCalendar | getCalendar() | Calendar getCalendar() |
getDateInstance | getDateInstance() | static DateFormat getDateInstance() |
getDateTimeInstance | getDateTimeInstance() | static DateFormat getDateTimeInstance() |
getInstance | getInstance() | static DateFormat getInstance() |
getNumberFormat | getNumberFormat() | NumberFormat getNumberFormat() |
getTimeInstance | getTimeInstance() | static DateFormat getTimeInstance() |
getTimeZone | getTimeZone() | TimeZone getTimeZone() |
isLenient | isLenient() | boolean isLenient() |
parse | parse(source)parse([source,pos])parse([ :source = v, :pos = v ]) | Date parse(String source)Date parse(String source, ParsePosition pos) |
setCalendar | setCalendar(newCalendar) | void setCalendar(Calendar newCalendar) |
setLenient | setLenient(lenient) | void setLenient(boolean lenient) |
setNumberFormat | setNumberFormat(newNumberFormat) | void setNumberFormat(NumberFormat newNumberFormat) |
setTimeZone | setTimeZone(zone) | void setTimeZone(TimeZone zone) |
The methods and fields of Format are inherited.
DateFormatField#
class · extends FormatField · java.text.DateFormat$Field
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ERA | Field | constant · static | o.ERA |
YEAR | Field | constant · static | o.YEAR |
MONTH | Field | constant · static | o.MONTH |
DAY_OF_MONTH | Field | constant · static | o.DAY_OF_MONTH |
HOUR_OF_DAY1 | Field | constant · static | o.HOUR_OF_DAY1 |
HOUR_OF_DAY0 | Field | constant · static | o.HOUR_OF_DAY0 |
MINUTE | Field | constant · static | o.MINUTE |
SECOND | Field | constant · static | o.SECOND |
MILLISECOND | Field | constant · static | o.MILLISECOND |
DAY_OF_WEEK | Field | constant · static | o.DAY_OF_WEEK |
DAY_OF_YEAR | Field | constant · static | o.DAY_OF_YEAR |
DAY_OF_WEEK_IN_MONTH | Field | constant · static | o.DAY_OF_WEEK_IN_MONTH |
WEEK_OF_YEAR | Field | constant · static | o.WEEK_OF_YEAR |
WEEK_OF_MONTH | Field | constant · static | o.WEEK_OF_MONTH |
AM_PM | Field | constant · static | o.AM_PM |
HOUR1 | Field | constant · static | o.HOUR1 |
HOUR0 | Field | constant · static | o.HOUR0 |
TIME_ZONE | Field | constant · static | o.TIME_ZONE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCalendarField | getCalendarField() | int getCalendarField() |
ofCalendarField | ofCalendarField(calendarField) | static Field ofCalendarField(int calendarField) |
The methods and fields of FormatField are inherited.
DateFormatSymbols#
class · extends Object · java.text.DateFormatSymbols
Implements: Serializable, Cloneable
Constructors
new DateFormatSymbols() |
new DateFormatSymbols(Locale locale) |
Ring: new DateFormatSymbols(args) uses the constructor with the fewest parameters (at least one); new DateFormatSymbols makes the object with the constructor without parameters; the others: (new DateFormatSymbols).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getInstance | @getInstance(locale) | static DateFormatSymbols getInstance(Locale locale) |
clone | clone() | Object clone() |
getAmPmStrings | getAmPmStrings() | String[] getAmPmStrings() |
getAvailableLocales | getAvailableLocales() | static Locale[] getAvailableLocales() |
getEras | getEras() | String[] getEras() |
getInstance | getInstance() | static DateFormatSymbols getInstance() |
getLocalPatternChars | getLocalPatternChars() | String getLocalPatternChars() |
getMonths | getMonths() | String[] getMonths() |
getShortMonths | getShortMonths() | String[] getShortMonths() |
getShortWeekdays | getShortWeekdays() | String[] getShortWeekdays() |
getWeekdays | getWeekdays() | String[] getWeekdays() |
getZoneStrings | getZoneStrings() | String[][] getZoneStrings() |
setAmPmStrings | setAmPmStrings(newAmpms) | void setAmPmStrings(String[] newAmpms) |
setEras | setEras(newEras) | void setEras(String[] newEras) |
setLocalPatternChars | setLocalPatternChars(newLocalPatternChars) | void setLocalPatternChars(String newLocalPatternChars) |
setMonths | setMonths(newMonths) | void setMonths(String[] newMonths) |
setShortMonths | setShortMonths(newShortMonths) | void setShortMonths(String[] newShortMonths) |
setShortWeekdays | setShortWeekdays(newShortWeekdays) | void setShortWeekdays(String[] newShortWeekdays) |
setWeekdays | setWeekdays(newWeekdays) | void setWeekdays(String[] newWeekdays) |
setZoneStrings | setZoneStrings(newZoneStrings) | void setZoneStrings(String[][] newZoneStrings) |
The methods and fields of Object are inherited.
DecimalFormat#
class · extends NumberFormat · java.text.DecimalFormat
Constructors
new DecimalFormat() |
new DecimalFormat(String pattern) |
new DecimalFormat(String pattern, DecimalFormatSymbols symbols) |
Ring: new DecimalFormat(args) uses the constructor with the fewest parameters (at least one); new DecimalFormat makes the object with the constructor without parameters; the others: (new DecimalFormat).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
applyLocalizedPattern | applyLocalizedPattern(pattern) | void applyLocalizedPattern(String pattern) |
applyPattern | applyPattern(pattern) | void applyPattern(String pattern) |
getDecimalFormatSymbols | getDecimalFormatSymbols() | DecimalFormatSymbols getDecimalFormatSymbols() |
getGroupingSize | getGroupingSize() | int getGroupingSize() |
getMultiplier | getMultiplier() | int getMultiplier() |
getNegativePrefix | getNegativePrefix() | String getNegativePrefix() |
getNegativeSuffix | getNegativeSuffix() | String getNegativeSuffix() |
getPositivePrefix | getPositivePrefix() | String getPositivePrefix() |
getPositiveSuffix | getPositiveSuffix() | String getPositiveSuffix() |
isDecimalSeparatorAlwaysShown | isDecimalSeparatorAlwaysShown() | boolean isDecimalSeparatorAlwaysShown() |
isParseBigDecimal | isParseBigDecimal() | boolean isParseBigDecimal() |
setDecimalFormatSymbols | setDecimalFormatSymbols(newSymbols) | void setDecimalFormatSymbols(DecimalFormatSymbols newSymbols) |
setDecimalSeparatorAlwaysShown | setDecimalSeparatorAlwaysShown(newValue) | void setDecimalSeparatorAlwaysShown(boolean newValue) |
setGroupingSize | setGroupingSize(newValue) | void setGroupingSize(int newValue) |
setMultiplier | setMultiplier(newValue) | void setMultiplier(int newValue) |
setNegativePrefix | setNegativePrefix(newValue) | void setNegativePrefix(String newValue) |
setNegativeSuffix | setNegativeSuffix(newValue) | void setNegativeSuffix(String newValue) |
setParseBigDecimal | setParseBigDecimal(newValue) | void setParseBigDecimal(boolean newValue) |
setPositivePrefix | setPositivePrefix(newValue) | void setPositivePrefix(String newValue) |
setPositiveSuffix | setPositiveSuffix(newValue) | void setPositiveSuffix(String newValue) |
toLocalizedPattern | toLocalizedPattern() | String toLocalizedPattern() |
toPattern | toPattern() | String toPattern() |
The methods and fields of NumberFormat are inherited.
DecimalFormatSymbols#
class · extends Object · java.text.DecimalFormatSymbols
Implements: Cloneable, Serializable
Constructors
new DecimalFormatSymbols() |
new DecimalFormatSymbols(Locale locale) |
Ring: new DecimalFormatSymbols(args) uses the constructor with the fewest parameters (at least one); new DecimalFormatSymbols makes the object with the constructor without parameters; the others: (new DecimalFormatSymbols).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getInstance | @getInstance(locale) | static DecimalFormatSymbols getInstance(Locale locale) |
clone | clone() | Object clone() |
getAvailableLocales | getAvailableLocales() | static Locale[] getAvailableLocales() |
getCurrency | getCurrency() | Currency getCurrency() |
getCurrencySymbol | getCurrencySymbol() | String getCurrencySymbol() |
getDecimalSeparator | getDecimalSeparator() | char getDecimalSeparator() |
getDigit | getDigit() | char getDigit() |
getExponentSeparator | getExponentSeparator() | String getExponentSeparator() |
getGroupingSeparator | getGroupingSeparator() | char getGroupingSeparator() |
getInfinity | getInfinity() | String getInfinity() |
getInstance | getInstance() | static DecimalFormatSymbols getInstance() |
getInternationalCurrencySymbol | getInternationalCurrencySymbol() | String getInternationalCurrencySymbol() |
getLocale | getLocale() | Locale getLocale() |
getMinusSign | getMinusSign() | char getMinusSign() |
getMonetaryDecimalSeparator | getMonetaryDecimalSeparator() | char getMonetaryDecimalSeparator() |
getMonetaryGroupingSeparator | getMonetaryGroupingSeparator() | char getMonetaryGroupingSeparator() |
getNaN | getNaN() | String getNaN() |
getPatternSeparator | getPatternSeparator() | char getPatternSeparator() |
getPercent | getPercent() | char getPercent() |
getPerMill | getPerMill() | char getPerMill() |
getZeroDigit | getZeroDigit() | char getZeroDigit() |
setCurrency | setCurrency(currency) | void setCurrency(Currency currency) |
setCurrencySymbol | setCurrencySymbol(currency) | void setCurrencySymbol(String currency) |
setDecimalSeparator | setDecimalSeparator(decimalSeparator) | void setDecimalSeparator(char decimalSeparator) |
setDigit | setDigit(digit) | void setDigit(char digit) |
setExponentSeparator | setExponentSeparator(exp) | void setExponentSeparator(String exp) |
setGroupingSeparator | setGroupingSeparator(groupingSeparator) | void setGroupingSeparator(char groupingSeparator) |
setInfinity | setInfinity(infinity) | void setInfinity(String infinity) |
setInternationalCurrencySymbol | setInternationalCurrencySymbol(currencyCode) | void setInternationalCurrencySymbol(String currencyCode) |
setMinusSign | setMinusSign(minusSign) | void setMinusSign(char minusSign) |
setMonetaryDecimalSeparator | setMonetaryDecimalSeparator(sep) | void setMonetaryDecimalSeparator(char sep) |
setMonetaryGroupingSeparator | setMonetaryGroupingSeparator(monetaryGroupingSeparator) | void setMonetaryGroupingSeparator(char monetaryGroupingSeparator) |
setNaN | setNaN(NaN) | void setNaN(String NaN) |
setPatternSeparator | setPatternSeparator(patternSeparator) | void setPatternSeparator(char patternSeparator) |
setPercent | setPercent(percent) | void setPercent(char percent) |
setPerMill | setPerMill(perMill) | void setPerMill(char perMill) |
setZeroDigit | setZeroDigit(zeroDigit) | void setZeroDigit(char zeroDigit) |
The methods and fields of Object are inherited.
FieldPosition#
class · extends Object · java.text.FieldPosition
Constructors
new FieldPosition(Field attribute) |
new FieldPosition(int field) |
new FieldPosition(Field attribute, int fieldID) |
Ring: new FieldPosition(args) uses the constructor with the fewest parameters (at least one); new FieldPosition makes the object with the constructor without parameters; the others: (new FieldPosition).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getField | @getField() | int getField() |
getBeginIndex | getBeginIndex() | int getBeginIndex() |
getEndIndex | getEndIndex() | int getEndIndex() |
getFieldAttribute | getFieldAttribute() | Field getFieldAttribute() |
setBeginIndex | setBeginIndex(bi) | void setBeginIndex(int bi) |
setEndIndex | setEndIndex(ei) | void setEndIndex(int ei) |
The methods and fields of Object are inherited.
Format#
abstract · extends Object · java.text.Format
Implements: Serializable, Cloneable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
format | format(obj)format([obj,toAppendTo,pos])format([ :obj = v, :toAppendTo = v, :pos = v ]) | String format(Object obj)StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos) |
formatToCharacterIterator | formatToCharacterIterator(obj) | AttributedCharacterIterator formatToCharacterIterator(Object obj) |
parseObject | parseObject(source)parseObject([source,pos])parseObject([ :source = v, :pos = v ]) | Object parseObject(String source)Object parseObject(String source, ParsePosition pos) |
The methods and fields of Object are inherited.
FormatField#
class · extends AttributedCharacterIteratorAttribute · java.text.Format$Field
The methods and fields of AttributedCharacterIteratorAttribute are inherited.
ListFormat#
class final · extends Format · java.text.ListFormat
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getInstance | @getInstance(patterns)@getInstance([locale,type,style])@getInstance([ :locale = v, :type = v, :style = v ]) | static ListFormat getInstance(String[] patterns)static ListFormat getInstance(Locale locale, Type type, Style style) |
getAvailableLocales | getAvailableLocales() | static Locale[] getAvailableLocales() |
getInstance | getInstance() | static ListFormat getInstance() |
getLocale | getLocale() | Locale getLocale() |
getPatterns | getPatterns() | String[] getPatterns() |
parse | parse(source) | List parse(String source) |
The methods and fields of Format are inherited.
ListFormatStyle#
enum · extends Enum · java.text.ListFormat$Style
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
FULL | Style | constant · static | o.FULL |
SHORT | Style | constant · static | o.SHORT |
NARROW | Style | constant · static | o.NARROW |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static Style valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static Style[] values() |
The methods and fields of Enum are inherited.
ListFormatType#
enum · extends Enum · java.text.ListFormat$Type
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
STANDARD | Type | constant · static | o.STANDARD |
OR | Type | constant · static | o.@OR |
UNIT | Type | constant · static | o.UNIT |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static Type valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static Type[] values() |
The methods and fields of Enum are inherited.
MessageFormat#
class · extends Format · java.text.MessageFormat
Constructors
new MessageFormat(String pattern) |
new MessageFormat(String pattern, Locale locale) |
Ring: new MessageFormat(args) uses the constructor with the fewest parameters (at least one); new MessageFormat makes the object with the constructor without parameters; the others: (new MessageFormat).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
applyPattern | applyPattern(pattern) | void applyPattern(String pattern) |
getFormats | getFormats() | Format[] getFormats() |
getFormatsByArgumentIndex | getFormatsByArgumentIndex() | Format[] getFormatsByArgumentIndex() |
getLocale | getLocale() | Locale getLocale() |
parse | parse(source)parse([source,pos])parse([ :source = v, :pos = v ]) | Object[] parse(String source)Object[] parse(String source, ParsePosition pos) |
setFormat | setFormat(formatElementIndex,newFormat) | void setFormat(int formatElementIndex, Format newFormat) |
setFormatByArgumentIndex | setFormatByArgumentIndex(argumentIndex,newFormat) | void setFormatByArgumentIndex(int argumentIndex, Format newFormat) |
setFormats | setFormats(newFormats) | void setFormats(Format[] newFormats) |
setFormatsByArgumentIndex | setFormatsByArgumentIndex(newFormats) | void setFormatsByArgumentIndex(Format[] newFormats) |
setLocale | setLocale(locale) | void setLocale(Locale locale) |
toPattern | toPattern() | String toPattern() |
The methods and fields of Format are inherited.
MessageFormatField#
class · extends FormatField · java.text.MessageFormat$Field
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ARGUMENT | Field | constant · static | o.ARGUMENT |
The methods and fields of FormatField are inherited.
Normalizer#
class final · extends Object · java.text.Normalizer
Methods
| Method | Ring call | Java overloads |
|---|---|---|
isNormalized | isNormalized(src,form) | static boolean isNormalized(CharSequence src, Form form) |
normalize | normalize(src,form) | static String normalize(CharSequence src, Form form) |
The methods and fields of Object are inherited.
NormalizerForm#
enum · extends Enum · java.text.Normalizer$Form
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NFD | Form | constant · static | o.NFD |
NFC | Form | constant · static | o.NFC |
NFKD | Form | constant · static | o.NFKD |
NFKC | Form | constant · static | o.NFKC |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static Form valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static Form[] values() |
The methods and fields of Enum are inherited.
NumberFormat#
abstract · extends Format · java.text.NumberFormat
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
INTEGER_FIELD | int | constant · static | o.INTEGER_FIELD |
FRACTION_FIELD | int | constant · static | o.FRACTION_FIELD |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getCompactNumberInstance | @getCompactNumberInstance([locale,formatStyle])@getCompactNumberInstance([ :locale = v, :formatStyle = v ]) | static NumberFormat getCompactNumberInstance(Locale locale, Style formatStyle) |
@getCurrencyInstance | @getCurrencyInstance(inLocale) | static NumberFormat getCurrencyInstance(Locale inLocale) |
@getInstance | @getInstance(inLocale) | static NumberFormat getInstance(Locale inLocale) |
@getIntegerInstance | @getIntegerInstance(inLocale) | static NumberFormat getIntegerInstance(Locale inLocale) |
@getNumberInstance | @getNumberInstance(inLocale) | static NumberFormat getNumberInstance(Locale inLocale) |
@getPercentInstance | @getPercentInstance(inLocale) | static NumberFormat getPercentInstance(Locale inLocale) |
getAvailableLocales | getAvailableLocales() | static Locale[] getAvailableLocales() |
getCompactNumberInstance | getCompactNumberInstance() | static NumberFormat getCompactNumberInstance() |
getCurrency | getCurrency() | Currency getCurrency() |
getCurrencyInstance | getCurrencyInstance() | static NumberFormat getCurrencyInstance() |
getInstance | getInstance() | static NumberFormat getInstance() |
getIntegerInstance | getIntegerInstance() | static NumberFormat getIntegerInstance() |
getMaximumFractionDigits | getMaximumFractionDigits() | int getMaximumFractionDigits() |
getMaximumIntegerDigits | getMaximumIntegerDigits() | int getMaximumIntegerDigits() |
getMinimumFractionDigits | getMinimumFractionDigits() | int getMinimumFractionDigits() |
getMinimumIntegerDigits | getMinimumIntegerDigits() | int getMinimumIntegerDigits() |
getNumberInstance | getNumberInstance() | static NumberFormat getNumberInstance() |
getPercentInstance | getPercentInstance() | static NumberFormat getPercentInstance() |
getRoundingMode | getRoundingMode() | RoundingMode getRoundingMode() |
isGroupingUsed | isGroupingUsed() | boolean isGroupingUsed() |
isParseIntegerOnly | isParseIntegerOnly() | boolean isParseIntegerOnly() |
isStrict | isStrict() | boolean isStrict() |
parse | parse(source)parse([source,parsePosition])parse([ :source = v, :parsePosition = v ]) | Number parse(String source)Number parse(String source, ParsePosition parsePosition) |
setCurrency | setCurrency(currency) | void setCurrency(Currency currency) |
setGroupingUsed | setGroupingUsed(newValue) | void setGroupingUsed(boolean newValue) |
setMaximumFractionDigits | setMaximumFractionDigits(newValue) | void setMaximumFractionDigits(int newValue) |
setMaximumIntegerDigits | setMaximumIntegerDigits(newValue) | void setMaximumIntegerDigits(int newValue) |
setMinimumFractionDigits | setMinimumFractionDigits(newValue) | void setMinimumFractionDigits(int newValue) |
setMinimumIntegerDigits | setMinimumIntegerDigits(newValue) | void setMinimumIntegerDigits(int newValue) |
setParseIntegerOnly | setParseIntegerOnly(value) | void setParseIntegerOnly(boolean value) |
setRoundingMode | setRoundingMode(roundingMode) | void setRoundingMode(RoundingMode roundingMode) |
setStrict | setStrict(strict) | void setStrict(boolean strict) |
The methods and fields of Format are inherited.
NumberFormatField#
class · extends FormatField · java.text.NumberFormat$Field
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
INTEGER | Field | constant · static | o.INTEGER |
FRACTION | Field | constant · static | o.FRACTION |
EXPONENT | Field | constant · static | o.EXPONENT |
DECIMAL_SEPARATOR | Field | constant · static | o.DECIMAL_SEPARATOR |
SIGN | Field | constant · static | o.SIGN |
GROUPING_SEPARATOR | Field | constant · static | o.GROUPING_SEPARATOR |
EXPONENT_SYMBOL | Field | constant · static | o.EXPONENT_SYMBOL |
PERCENT | Field | constant · static | o.PERCENT |
PERMILLE | Field | constant · static | o.PERMILLE |
CURRENCY | Field | constant · static | o.CURRENCY |
EXPONENT_SIGN | Field | constant · static | o.EXPONENT_SIGN |
PREFIX | Field | constant · static | o.PREFIX |
SUFFIX | Field | constant · static | o.SUFFIX |
The methods and fields of FormatField are inherited.
NumberFormatStyle#
enum · extends Enum · java.text.NumberFormat$Style
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SHORT | Style | constant · static | o.SHORT |
LONG | Style | constant · static | o.LONG |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static Style valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static Style[] values() |
The methods and fields of Enum are inherited.
ParseException#
class · extends Exception · java.text.ParseException
Constructors
new ParseException(String s, int errorOffset) |
Ring: new ParseException(args) uses the constructor with the fewest parameters (at least one); new ParseException makes the object with the constructor without parameters; the others: (new ParseException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getErrorOffset | getErrorOffset() | int getErrorOffset() |
The methods and fields of Exception are inherited.
ParsePosition#
class · extends Object · java.text.ParsePosition
Constructors
new ParsePosition(int index) |
Ring: new ParsePosition(args) uses the constructor with the fewest parameters (at least one); new ParsePosition makes the object with the constructor without parameters; the others: (new ParsePosition).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getErrorIndex | getErrorIndex() | int getErrorIndex() |
getIndex | getIndex() | int getIndex() |
setErrorIndex | setErrorIndex(ei) | void setErrorIndex(int ei) |
setIndex | setIndex(index) | void setIndex(int index) |
The methods and fields of Object are inherited.
RuleBasedCollator#
class · extends Collator · java.text.RuleBasedCollator
Constructors
new RuleBasedCollator(String rules) |
Ring: new RuleBasedCollator(args) uses the constructor with the fewest parameters (at least one); new RuleBasedCollator makes the object with the constructor without parameters; the others: (new RuleBasedCollator).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCollationElementIterator | getCollationElementIterator(source) | CollationElementIterator getCollationElementIterator(CharacterIterator source)CollationElementIterator getCollationElementIterator(String source) |
getRules | getRules() | String getRules() |
The methods and fields of Collator are inherited.
SimpleDateFormat#
class · extends DateFormat · java.text.SimpleDateFormat
Constructors
new SimpleDateFormat() |
new SimpleDateFormat(String pattern) |
new SimpleDateFormat(String pattern, DateFormatSymbols formatSymbols) |
new SimpleDateFormat(String pattern, Locale locale) |
Ring: new SimpleDateFormat(args) uses the constructor with the fewest parameters (at least one); new SimpleDateFormat makes the object with the constructor without parameters; the others: (new SimpleDateFormat).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
applyLocalizedPattern | applyLocalizedPattern(pattern) | void applyLocalizedPattern(String pattern) |
applyPattern | applyPattern(pattern) | void applyPattern(String pattern) |
get2DigitYearStart | get2DigitYearStart() | Date get2DigitYearStart() |
getDateFormatSymbols | getDateFormatSymbols() | DateFormatSymbols getDateFormatSymbols() |
set2DigitYearStart | set2DigitYearStart(startDate) | void set2DigitYearStart(Date startDate) |
setDateFormatSymbols | setDateFormatSymbols(newFormatSymbols) | void setDateFormatSymbols(DateFormatSymbols newFormatSymbols) |
toLocalizedPattern | toLocalizedPattern() | String toLocalizedPattern() |
toPattern | toPattern() | String toPattern() |
The methods and fields of DateFormat are inherited.
StringCharacterIterator#
class final · extends Object · java.text.StringCharacterIterator
Implements: CharacterIterator
Constructors
new StringCharacterIterator(String text) |
new StringCharacterIterator(String text, int pos) |
new StringCharacterIterator(String text, int begin, int end, int pos) |
Ring: new StringCharacterIterator(args) uses the constructor with the fewest parameters (at least one); new StringCharacterIterator makes the object with the constructor without parameters; the others: (new StringCharacterIterator).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DONE | char | constant · static | o.DONE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@next | @next() | char next() |
clone | clone() | Object clone() |
current | current() | char current() |
first | first() | char first() |
getBeginIndex | getBeginIndex() | int getBeginIndex() |
getEndIndex | getEndIndex() | int getEndIndex() |
getIndex | getIndex() | int getIndex() |
last | last() | char last() |
previous | previous() | char previous() |
setIndex | setIndex(p) | char setIndex(int p) |
setText | setText(text) | void setText(String text) |
The methods and fields of Object are inherited.
TextAnnotation#
class · extends Object · java.text.Annotation
Constructors
new TextAnnotation(Object value) |
Ring: new TextAnnotation(args) uses the constructor with the fewest parameters (at least one); new TextAnnotation makes the object with the constructor without parameters; the others: (new TextAnnotation).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getValue | getValue() | Object getValue() |
The methods and fields of Object are inherited.