oshi.util

## Class FormatUtil

- java.lang.Object
- - oshi.util.FormatUtil

-     public abstract class FormatUtil
      extends java.lang.Object

  String formatting utility.
  Author:
    dblock[at]dblock[dot]org

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FormatUtil()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | `formatBytes(long bytes)` Format bytes into a string to a rounded string representation.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FormatUtil

          public FormatUtil()

  - ### Method Detail

    - #### formatBytes

          public static java.lang.String formatBytes(long bytes)

      Format bytes into a string to a rounded string representation.
      Parameters:
        `bytes` - Bytes.
      Returns:
        Rounded string representation of the byte size.