|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.util.DefaultFormatFactory
public class DefaultFormatFactory
| Field Summary | |
|---|---|
static java.lang.String |
STANDARD_DATE_FORMAT_DEFAULT
Used in the date pattern to specify the default style. |
static java.lang.String |
STANDARD_DATE_FORMAT_FULL
Used in the date pattern to specify the full style. |
static java.lang.String |
STANDARD_DATE_FORMAT_HIDE
Used in the date pattern to specify that the date or time should not be included. |
static java.lang.String |
STANDARD_DATE_FORMAT_LONG
Used in the date pattern to specify the long style. |
static java.lang.String |
STANDARD_DATE_FORMAT_MEDIUM
Used in the date pattern to specify the medium style. |
static java.lang.String |
STANDARD_DATE_FORMAT_SEPARATOR
Used in the date format pattern to separate the date and time styles. |
static java.lang.String |
STANDARD_DATE_FORMAT_SHORT
Used in the date pattern to specify the short style. |
| Constructor Summary | |
|---|---|
DefaultFormatFactory()
|
|
| Method Summary | |
|---|---|
java.text.DateFormat |
createDateFormat(java.lang.String pattern,
java.util.Locale locale,
java.util.TimeZone tz)
|
static FormatFactory |
createFormatFactory(java.lang.String formatFactoryClassName)
|
java.text.NumberFormat |
createNumberFormat(java.lang.String pattern,
java.util.Locale locale)
|
protected static java.text.DateFormat |
getDateFormat(int[] dateStyle,
int[] timeStyle,
java.util.Locale locale)
|
protected static int[] |
getDateStyle(java.lang.String pattern)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String STANDARD_DATE_FORMAT_DEFAULT
DateFormat.DEFAULT,
Constant Field Valuespublic static final java.lang.String STANDARD_DATE_FORMAT_SHORT
DateFormat.SHORT,
Constant Field Valuespublic static final java.lang.String STANDARD_DATE_FORMAT_MEDIUM
DateFormat.MEDIUM,
Constant Field Valuespublic static final java.lang.String STANDARD_DATE_FORMAT_LONG
DateFormat.LONG,
Constant Field Valuespublic static final java.lang.String STANDARD_DATE_FORMAT_FULL
DateFormat.FULL,
Constant Field Valuespublic static final java.lang.String STANDARD_DATE_FORMAT_HIDE
public static final java.lang.String STANDARD_DATE_FORMAT_SEPARATOR
| Constructor Detail |
|---|
public DefaultFormatFactory()
| Method Detail |
|---|
public java.text.DateFormat createDateFormat(java.lang.String pattern,
java.util.Locale locale,
java.util.TimeZone tz)
createDateFormat in interface FormatFactoryprotected static int[] getDateStyle(java.lang.String pattern)
protected static java.text.DateFormat getDateFormat(int[] dateStyle,
int[] timeStyle,
java.util.Locale locale)
public java.text.NumberFormat createNumberFormat(java.lang.String pattern,
java.util.Locale locale)
createNumberFormat in interface FormatFactorypublic static FormatFactory createFormatFactory(java.lang.String formatFactoryClassName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||