Package org.robovm.apple.corefoundation
Class CFNumberFormatter
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.corefoundation.CFNumberFormatter
- All Implemented Interfaces:
AutoCloseable
public class CFNumberFormatter extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFNumberFormatter.CFNumberFormatterPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCFNumberFormatter() -
Method Summary
Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
CFNumberFormatter
protected CFNumberFormatter()
-
-
Method Details
-
create
-
format
-
parse
-
getDefaultFractionDigitsForCurrencyCode
-
getRoundingIncrementForCurrencyCode
-
getClassTypeID
public static long getClassTypeID() -
create
public static CFNumberFormatter create(CFAllocator allocator, CFLocale locale, CFNumberFormatterStyle style) -
getLocale
-
getStyle
-
getFormat
-
setFormat
-
format
protected static String format(CFAllocator allocator, CFNumberFormatter formatter, CFNumber number) -
formatValue
protected static String formatValue(CFAllocator allocator, CFNumberFormatter formatter, CFNumberType numberType, VoidPtr valuePtr) -
parse
protected static CFNumber parse(CFAllocator allocator, CFNumberFormatter formatter, String string, CFRange rangep, CFNumberFormatterOptionFlags options) -
parseValue
protected boolean parseValue(String string, CFRange rangep, CFNumberType numberType, VoidPtr valuePtr) -
setProperty
-
getProperty
-