|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.util.FormatUtils
public class FormatUtils
Constructor Summary | |
---|---|
FormatUtils()
|
Method Summary | |
---|---|
static java.util.Date |
getFormattedDate(java.text.DateFormat dateFormat,
java.lang.String fieldValue,
java.lang.Class<?> valueClass)
Creates a date from a string value |
static java.lang.Number |
getFormattedNumber(java.text.NumberFormat numberFormat,
java.lang.String fieldValue,
java.lang.Class<?> valueClass)
Creates a number from a string value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormatUtils()
Method Detail |
---|
public static java.lang.Number getFormattedNumber(java.text.NumberFormat numberFormat, java.lang.String fieldValue, java.lang.Class<?> valueClass) throws java.text.ParseException
numberFormat
- fieldValue
- valueClass
-
java.text.ParseException
public static java.util.Date getFormattedDate(java.text.DateFormat dateFormat, java.lang.String fieldValue, java.lang.Class<?> valueClass) throws java.text.ParseException
dateFormat
- fieldValue
- valueClass
-
java.text.ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |