Package | Description |
---|---|
org.bitcoinj.utils |
Formatting monetary amounts, representing exchange rates, a program for loading Bitcoin Core saved block files,
a class to control how bitcoinj uses threads and misc other utility classes that don't fit anywhere else.
|
Modifier and Type | Method and Description |
---|---|
static BtcAutoFormat.Style |
BtcAutoFormat.Style.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BtcAutoFormat.Style[] |
BtcAutoFormat.Style.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static BtcFormat |
BtcFormat.getInstance(BtcAutoFormat.Style style)
Return a new auto-denominating formatter.
|
static BtcFormat |
BtcFormat.getInstance(BtcAutoFormat.Style style,
int fractionPlaces)
Return a new auto-denominating formatter with the given number of fractional decimal
places.
|
static BtcFormat |
BtcFormat.getInstance(BtcAutoFormat.Style style,
Locale locale)
Return a new auto-formatter with the given style for the given locale.
|
static BtcFormat |
BtcFormat.getInstance(BtcAutoFormat.Style style,
Locale locale,
int fractionPlaces)
Return a new auto-formatter for the given locale with the given number of fraction places.
|
BtcFormat.Builder |
BtcFormat.Builder.style(BtcAutoFormat.Style val)
Specify the new
BtcFormat is to be automatically-denominating. |
Constructor and Description |
---|
BtcAutoFormat(Locale locale,
BtcAutoFormat.Style style,
int fractionPlaces)
Constructor
|
Copyright © 2016. All rights reserved.