# Package com.norconex.commons.lang.unit

package com.norconex.commons.lang.unit
Classes making it easier to deal with unit conversions and formatting.

- Related Packages
  Package
  Description
  com.norconex.commons.lang
  Miscellaneous classes.
- Class
  Description
  DataUnit
  A `DataUnit` offers representation and conversion of various quantity of bytes/bits.
  DataUnitFormatter
  Formats a data unit to a human-readable string.
  DataUnitParser
  Parse a textual representation of a data unit and converts it into a `BigDecimal` representing the quantity for a given unit (e.g., bytes).
  DataUnitParserException
  Runtime exception when a `DataUnitParser` could not parse a string value.