|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mpxj.utility.MPXJFormats
public final class MPXJFormats
This class manages the various objects required to parse and format data items in MPX files.
| Constructor Summary | |
|---|---|
MPXJFormats(Locale locale,
String nullText,
ProjectFile file)
Constructor. |
|
| Method Summary | |
|---|---|
NumberFormat |
getCurrencyFormat()
Retrieve the currency format. |
DateFormat |
getDateFormat()
Retrieve the date format. |
DateFormat |
getDateTimeFormat()
Retrieve the date time format. |
NumberFormat |
getDecimalFormat()
Retrieve the decimal format. |
NumberFormat |
getDurationDecimalFormat()
Retrieve the duration decimal format. |
String |
getNullText()
Retrieve the text representing a null value. |
NumberFormat |
getPercentageDecimalFormat()
Retrieve the percentage decimal format. |
DateFormat |
getTimeFormat()
Retrieve the time format. |
NumberFormat |
getUnitsDecimalFormat()
Retrieve the units decimal format. |
void |
update()
Called to update the cached formats when something changes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MPXJFormats(Locale locale,
String nullText,
ProjectFile file)
locale - target localenullText - locale specific text to represent a value which has not been set, normally "NA"file - parent file| Method Detail |
|---|
public void update()
public NumberFormat getUnitsDecimalFormat()
public NumberFormat getDecimalFormat()
public NumberFormat getCurrencyFormat()
public NumberFormat getDurationDecimalFormat()
public NumberFormat getPercentageDecimalFormat()
public DateFormat getDateTimeFormat()
public DateFormat getDateFormat()
public DateFormat getTimeFormat()
public String getNullText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||