Package 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.
-
Interface Summary Interface Description TaggableObject An object that can carry around and possibly serialize a map of strings to immutable byte arrays. -
Class Summary Class Description AppDataDirectory Find/create App Data Directory in correct platform-specific location.BaseTaggableObject A simple implementation ofTaggableObject
that uses a hashmap that is synchronized on this object's Java monitor.BlockFileLoader This class reads block files stored in the Bitcoin Core format.BriefLogFormatter A Java logging formatter that writes more compact output than the default.BtcAutoFormat This class, a concrete extension ofBtcFormat
, is distinguished by its accommodation of multiple denominational units as follows:BtcFixedFormat This class, a concrete extension ofBtcFormat
, 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.BtcFormat Instances of this class format and parse locale-specific numerical representations of Bitcoin monetary values.BtcFormat.Builder This class constructs new instances ofBtcFormat
, allowing for the configuration of those instances before they are constructed.ContextPropagatingThreadFactory AThreadFactory
that propagates aContext
from the creating thread into the new thread.DaemonThreadFactory Thread factory whose threads are marked as daemon and won't prevent process exit.ExchangeRate ExponentialBackoff Tracks successes and failures and calculates a time to retry the operation.ExponentialBackoff.Params Parameters to configure a particular kind of exponential backoff.Fiat Represents a monetary fiat value.ListenerRegistration<T> A simple wrapper around a listener and an executor, with some utility methods.MonetaryFormat Utility for formatting and parsing coin values to and from human readable form.Threading Various threading related utilities.Threading.UserThread VersionTally Caching counter for the block versions within a moving window. -
Enum Summary Enum Description BtcAutoFormat.Style Enum for specifying the style of currency indicators that are used when formatting, either codes or symbols.