|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.meta.common.DataTypesUtility
public class DataTypesUtility
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
static Object |
fromExternalForm(String external_form)
Supported API: true |
static String |
getDenominator(Ratio value,
Locale locale)
Supported API: true |
static String |
getLabel(Hyperlink value,
Locale locale)
Supported API: true |
static String |
getLink(Hyperlink value,
Locale locale)
Supported API: true |
static String |
getNumerator(Ratio value,
Locale locale)
Supported API: true |
static String |
getValue(FloatingPointWithUnits value,
int displayPrecision,
Locale locale)
Supported API: true |
static String |
getValue(FloatingPointWithUnits value,
Locale locale)
Supported API: true |
static String |
getValue(FloatingPointWithUnits value,
String unitsString,
int displayPrecision,
Locale locale)
Supported API: true |
static String |
getValue(FloatingPointWithUnits value,
String unitsString,
Locale locale)
Supported API: true |
static Boolean |
toBoolean(String value,
Locale locale)
Supported API: true |
static String |
toExternalForm(Object obj)
Supported API: true |
static FloatingPoint |
toFloatingPoint(String value,
Locale locale)
Supported API: true |
static FloatingPointWithUnits |
toFloatingPointWithUnits(String value,
Locale locale)
Supported API: true |
static Hyperlink |
toHyperlink(String value,
Locale locale)
Supported API: true |
static Hyperlink |
toHyperlink(String label,
String link,
Locale locale)
Supported API: true |
static Long |
toLong(String value,
Locale locale)
Supported API: true |
static Ratio |
toRatio(String value,
Locale locale)
Supported API: true |
static Ratio |
toRatio(String numerator,
String denominator,
Locale locale)
Supported API: true |
static String |
toString(Boolean value,
Locale locale)
Supported API: true |
static String |
toString(FloatingPoint value,
int displayPrecision,
Locale locale)
Supported API: true |
static String |
toString(FloatingPoint value,
Locale locale)
Supported API: true |
static String |
toString(FloatingPointWithUnits value,
int displayPrecision,
Locale locale)
Supported API: true |
static String |
toString(FloatingPointWithUnits value,
Locale locale)
Supported API: true |
static String |
toString(FloatingPointWithUnits value,
String unitsString,
int displayPrecision,
Locale locale)
Supported API: true |
static String |
toString(FloatingPointWithUnits value,
String unitsString,
Locale locale)
Supported API: true |
static String |
toString(Hyperlink value,
Locale locale)
Supported API: true |
static String |
toString(Long value,
Locale locale)
Supported API: true |
static String |
toString(Ratio value,
Locale locale)
Supported API: true |
static String |
toString(Timestamp value,
Locale locale)
Supported API: true |
static String |
toString(Timestamp value,
String pattern,
Locale locale)
Supported API: true |
static Timestamp |
toTimestamp(String value,
Locale locale)
Supported API: true |
static Timestamp |
toTimestamp(String value,
String pattern,
Locale locale)
Supported API: true |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Boolean toBoolean(String value,
Locale locale)
value - locale -
public static String toString(Boolean value,
Locale locale)
value - locale -
public static FloatingPoint toFloatingPoint(String value,
Locale locale)
throws ParseException
value - locale -
ParseException
public static String toString(FloatingPoint value,
Locale locale)
value - locale -
public static String toString(FloatingPoint value,
int displayPrecision,
Locale locale)
value - displayPrecision - locale -
public static FloatingPointWithUnits toFloatingPointWithUnits(String value,
Locale locale)
throws ParseException,
wt.units.UnitFormatException
value - locale -
ParseException
wt.units.UnitFormatException
public static String toString(FloatingPointWithUnits value,
Locale locale)
value - locale -
public static String toString(FloatingPointWithUnits value,
int displayPrecision,
Locale locale)
value - displayPrecision - locale -
public static String toString(FloatingPointWithUnits value,
String unitsString,
Locale locale)
throws wt.units.UnitFormatException,
wt.units.IncompatibleUnitsException
value - unitsString - locale -
wt.units.UnitFormatException
wt.units.IncompatibleUnitsException
public static String toString(FloatingPointWithUnits value,
String unitsString,
int displayPrecision,
Locale locale)
throws wt.units.UnitFormatException,
wt.units.IncompatibleUnitsException
value - unitsString - displayPrecision - locale -
wt.units.UnitFormatException
wt.units.IncompatibleUnitsException
public static String getValue(FloatingPointWithUnits value,
Locale locale)
value - locale -
public static String getValue(FloatingPointWithUnits value,
int displayPrecision,
Locale locale)
value - displayPrecision - locale -
public static String getValue(FloatingPointWithUnits value,
String unitsString,
Locale locale)
throws wt.units.UnitFormatException,
wt.units.IncompatibleUnitsException
value - unitsString - locale -
wt.units.UnitFormatException
wt.units.IncompatibleUnitsException
public static String getValue(FloatingPointWithUnits value,
String unitsString,
int displayPrecision,
Locale locale)
throws wt.units.UnitFormatException,
wt.units.IncompatibleUnitsException
value - unitsString - displayPrecision - locale -
wt.units.UnitFormatException
wt.units.IncompatibleUnitsException
public static Long toLong(String value,
Locale locale)
throws ParseException
value - locale -
ParseException
public static String toString(Long value,
Locale locale)
value - locale -
public static Timestamp toTimestamp(String value,
Locale locale)
value - locale -
public static Timestamp toTimestamp(String value,
String pattern,
Locale locale)
value - pattern - locale -
public static String toString(Timestamp value,
Locale locale)
value - locale -
public static String toString(Timestamp value,
String pattern,
Locale locale)
value - pattern - locale -
public static Ratio toRatio(String value,
Locale locale)
value - locale -
public static Ratio toRatio(String numerator,
String denominator,
Locale locale)
throws ParseException
numerator - denominator - locale -
ParseException
public static String getNumerator(Ratio value,
Locale locale)
value - locale -
public static String getDenominator(Ratio value,
Locale locale)
value - locale -
public static String toString(Ratio value,
Locale locale)
value - locale -
public static Hyperlink toHyperlink(String label,
String link,
Locale locale)
label - link - locale -
public static Hyperlink toHyperlink(String value,
Locale locale)
value - locale -
public static String toString(Hyperlink value,
Locale locale)
value - locale -
public static String getLabel(Hyperlink value,
Locale locale)
value - locale -
public static String getLink(Hyperlink value,
Locale locale)
value - locale -
public static String toExternalForm(Object obj)
obj -
public static Object fromExternalForm(String external_form)
external_form -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||