public abstract class IlvListFormat extends Object
IlvSimpleListFormat
Modifier and Type | Field and Description |
---|---|
static int |
LONG
Identifies the list formatting style that results in a full part of a
sentence.
|
static int |
SHORT
Identifies the list formatting style that contains the minimum possible
amount of verbose text.
|
Modifier | Constructor and Description |
---|---|
protected |
IlvListFormat()
Creates the list format.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
format(String[] elements)
Returns the string that expresses the given elements, in order.
|
static IlvListFormat |
getInstance()
Returns the default list formatter, of default style, for the default
locale.
|
static IlvListFormat |
getInstance(int style)
Returns the default list formatter for the default locale, using
the given style.
|
static IlvListFormat |
getInstance(int style,
Locale inLocale)
Returns the default list formatter for the given locale, using
the given style.
|
public static final int SHORT
public static final int LONG
public abstract String format(String[] elements)
elements
- An array of strings.public static IlvListFormat getInstance()
Locale.getDefault()
public static IlvListFormat getInstance(int style)
style
- One of SHORT
, LONG
.Locale.getDefault()
public static IlvListFormat getInstance(int style, Locale inLocale)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.