ListFormat (Java SE 26 & JDK 26)
- All Implemented Interfaces:
Serializable, Cloneable
-
Nested Class Summary
Nested Classes
Nested classes/interfaces declared in class Format
static classDefines constants that are used as attribute keys in the
AttributedCharacterIteratorreturned fromFormat.formatToCharacterIteratorand as field identifiers inFieldPosition. -
Method Summary
booleanCompares the specified object with this
ListFormatfor equality.Formats an object and appends the resulting text to a given string buffer.
Returns the string that consists of the input strings, concatenated with the patterns of this
ListFormat.Returns the available locales that support ListFormat.
Returns the ListFormat object for the specified patterns.
Returns the
Localeof this ListFormat.Returns the patterns used in this ListFormat.
Returns the parsed list of strings from the
sourcestring.Parses text from a string to produce a list of strings.
toString()Returns a string identifying this
ListFormat, for debugging.Methods declared in class Format
clone, format, formatToCharacterIterator, parseObjectCreates and returns a copy of this object.
Formats an object to produce a string.
Formats an Object producing an
AttributedCharacterIterator.Parses text from the beginning of the given string to produce an object.
Methods declared in class Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected voidDeprecated, for removal: This API element is subject to removal in a future version.
Returns the runtime class of this
Object.intReturns a hash code value for this object.
final voidWakes up a single thread that is waiting on this object's monitor.
final voidWakes up all threads that are waiting on this object's monitor.
final voidCauses the current thread to wait until it is awakened, typically by being notified or interrupted.
final voidwait(long timeoutMillis) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.
final voidwait(long timeoutMillis, int nanos) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.
-
Method Details
-
getAvailableLocales
-
getInstance
-
getInstance
-
getInstance
-
getLocale
-
getPatterns
-
format
-
format
-
parse
-
parseObject
-
equals
-
toString
-