Package com.norconex.commons.lang.unit


package com.norconex.commons.lang.unit
Classes making it easier to deal with unit conversions and formatting.
  • Class
    Description
    A DataUnit offers representation and conversion of various quantity of bytes/bits.
    Formats a data unit to a human-readable string.
    Parse a textual representation of a data unit and converts it into a BigDecimal representing the quantity for a given unit (e.g., bytes).
    Runtime exception when a DataUnitParser could not parse a string value.