| 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 | Class and Description | 
|---|---|
class  | 
BtcAutoFormat
This class, a concrete extension of  
BtcFormat, is distinguished by its
 accommodation of multiple denominational units as follows: | 
class  | 
BtcFixedFormat
This class, a concrete extension of  
BtcFormat, is distinguished in that each
 instance formats and by-default parses all Bitcoin monetary values in units of a single
 denomination that is specified at the time that instance is constructed. | 
| Modifier and Type | Method and Description | 
|---|---|
BtcFormat | 
BtcFormat.Builder.build()
Return a new  
BtcFormat instance. | 
static BtcFormat | 
BtcFormat.getCodeInstance()
Return a new auto-denominating instance that will indicate units using a currency
 code, for example,  
"BTC". | 
static BtcFormat | 
BtcFormat.getCodeInstance(int minDecimals)
Return a new code-style auto-formatter with the given number of fractional decimal
 places. 
 | 
static BtcFormat | 
BtcFormat.getCodeInstance(Locale locale)
Return a new code-style auto-formatter for the given locale. 
 | 
static BtcFormat | 
BtcFormat.getCodeInstance(Locale locale,
               int minDecimals)
Return a new code-style auto-formatter for the given locale with the given number of
 fraction places. 
 | 
static BtcFormat | 
BtcFormat.getCoinInstance()
Return a new coin-denominated formatter. 
 | 
static BtcFormat | 
BtcFormat.getCoinInstance(int minFractionPlaces,
               int... groups)
Return a new coin-denominated formatter with the specified fraction-places. 
 | 
static BtcFormat | 
BtcFormat.getCoinInstance(Locale locale)
Return a new coin-denominated formatter for the given locale. 
 | 
static BtcFormat | 
BtcFormat.getCoinInstance(Locale locale,
               int scale,
               int... groups)
Return a newly-constructed instance for the given locale that will format
 values in terms of bitcoins, with the given minimum number of fractional
 decimal places. 
 | 
static BtcFormat | 
BtcFormat.getInstance()
Return a new instance of this class using all defaults. 
 | 
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. 
 | 
static BtcFormat | 
BtcFormat.getInstance(int scale)
Return a new fixeed-denomination formatter. 
 | 
static BtcFormat | 
BtcFormat.getInstance(int scale,
           int minDecimals,
           int... groups)
Return a new fixeed-denomination formatter with the specified fractional decimal
 placing. 
 | 
static BtcFormat | 
BtcFormat.getInstance(int scale,
           Locale locale)
Return a new fixeed-denomination formatter for the given locale. 
 | 
static BtcFormat | 
BtcFormat.getInstance(int scale,
           Locale locale,
           int minDecimals,
           int... groups)
Return a new fixed-denomination formatter for the given locale, with the specified
 fractional decimal placing. 
 | 
static BtcFormat | 
BtcFormat.getInstance(int scale,
           Locale locale,
           int minDecimals,
           List<Integer> groups)
Return a new fixed-denomination formatter for the given locale, with the specified
 fractional decimal placing. 
 | 
static BtcFormat | 
BtcFormat.getInstance(Locale locale)
Return a new code-style auto-formatter for the given locale. 
 | 
static BtcFormat | 
BtcFormat.getInstance(Locale locale,
           int minDecimals)
Return a new code-style auto-formatter for the given locale with the given number of
 fraction places. 
 | 
static BtcFormat | 
BtcFormat.getMicroInstance()
Return a new microcoin-denominated formatter for the default locale. 
 | 
static BtcFormat | 
BtcFormat.getMicroInstance(int scale,
                int... groups)
Return a new microcoin-denominated formatter with the specified fractional decimal
 placing. 
 | 
static BtcFormat | 
BtcFormat.getMicroInstance(Locale locale)
Return a new microcoin-denominated formatter for the given locale. 
 | 
static BtcFormat | 
BtcFormat.getMicroInstance(Locale locale,
                int scale,
                int... groups)
Return a new microcoin-denominated formatter for the given locale with the specified
 fractional decimal placing. 
 | 
static BtcFormat | 
BtcFormat.getMilliInstance()
Return a new millicoin-denominated formatter. 
 | 
static BtcFormat | 
BtcFormat.getMilliInstance(int scale,
                int... groups)
Return a new millicoin-denominated formatter with the specified fractional decimal
 placing. 
 | 
static BtcFormat | 
BtcFormat.getMilliInstance(Locale locale)
Return a new millicoin-denominated formatter for the given locale. 
 | 
static BtcFormat | 
BtcFormat.getMilliInstance(Locale locale,
                int scale,
                int... groups)
Return a new millicoin-denominated formatter for the given locale with the specified
 fractional decimal placing. 
 | 
static BtcFormat | 
BtcFormat.getSymbolInstance()
Return a new auto-denominating instance that will indicate units using a currency
 symbol, for example,  
"฿". | 
static BtcFormat | 
BtcFormat.getSymbolInstance(int fractionPlaces)
Return a new symbol-style auto-formatter with the given number of fractional decimal
 places. 
 | 
static BtcFormat | 
BtcFormat.getSymbolInstance(Locale locale)
Return a new symbol-style auto-formatter for the given locale. 
 | 
static BtcFormat | 
BtcFormat.getSymbolInstance(Locale locale,
                 int fractionPlaces)
Return a new symbol-style auto-formatter for the given locale with the given number of
 fraction places. 
 | 
Copyright © 2016. All rights reserved.