| Package | Description | 
|---|---|
| org.bitcoinj.core | The core package contains classes for network messages like  BlockandTransaction, peer connectivity viaPeerGroup,
 and block chain management. | 
| org.bitcoinj.params | Network parameters encapsulate some of the differences between different Bitcoin networks such as the main
 network, the testnet, regtest mode, unit testing params and so on. | 
| 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 | 
|---|---|
| abstract MonetaryFormat | NetworkParameters. getMonetaryFormat()The monetary object for this currency. | 
| Modifier and Type | Method and Description | 
|---|---|
| MonetaryFormat | AbstractBitcoinNetParams. getMonetaryFormat() | 
| Modifier and Type | Field and Description | 
|---|---|
| static MonetaryFormat | MonetaryFormat. BTCStandard format for the BTC denomination. | 
| static MonetaryFormat | MonetaryFormat. FIATStandard format for fiat amounts. | 
| static MonetaryFormat | MonetaryFormat. MBTCStandard format for the mBTC denomination. | 
| static MonetaryFormat | MonetaryFormat. UBTCStandard format for the µBTC denomination. | 
| Modifier and Type | Method and Description | 
|---|---|
| MonetaryFormat | MonetaryFormat. code(int codeShift,
    String code)Configure currency code for given decimal separator shift. | 
| MonetaryFormat | MonetaryFormat. codeSeparator(char codeSeparator)Separator between currency code and formatted value. | 
| MonetaryFormat | MonetaryFormat. decimalMark(char decimalMark)Set character to use as the decimal mark. | 
| MonetaryFormat | MonetaryFormat. digits(char zeroDigit)Set character range to use for representing digits. | 
| MonetaryFormat | MonetaryFormat. minDecimals(int minDecimals)Set minimum number of decimals to use for formatting. | 
| MonetaryFormat | MonetaryFormat. negativeSign(char negativeSign)Set character to prefix negative values. | 
| MonetaryFormat | MonetaryFormat. noCode()Don't display currency code when formatting. | 
| MonetaryFormat | MonetaryFormat. optionalDecimals(int... groups)
 Set additional groups of decimals to use after the minimum decimals, if they are useful for expressing precision. | 
| MonetaryFormat | MonetaryFormat. positiveSign(char positiveSign)Set character to prefix positive values. | 
| MonetaryFormat | MonetaryFormat. postfixCode()Postfix formatted output with currency code. | 
| MonetaryFormat | MonetaryFormat. prefixCode()Prefix formatted output by currency code. | 
| MonetaryFormat | MonetaryFormat. repeatOptionalDecimals(int decimals,
                      int repetitions)
 Set repeated additional groups of decimals to use after the minimum decimals, if they are useful for expressing
 precision. | 
| MonetaryFormat | MonetaryFormat. roundingMode(RoundingMode roundingMode)Set rounding mode to use when it becomes necessary. | 
| MonetaryFormat | MonetaryFormat. shift(int shift)Set number of digits to shift the decimal separator to the right, coming from the standard BTC notation that was
 common pre-2014. | 
| MonetaryFormat | MonetaryFormat. withLocale(Locale locale)Configure this instance with values from a  Locale. | 
Copyright © 2018. All rights reserved.