Class SizeFormatter

java.lang.Object
com.pnfsoftware.jeb.util.format.SizeFormatter

public class SizeFormatter extends Object
Computer sizes formatting utility methods (bytes, kilo-bytes, etc.)
  • Constructor Details

    • SizeFormatter

      public SizeFormatter()
  • Method Details

    • formatByteSize

      public static String formatByteSize(long bytesize)
      Format a bytes size as a human-readable string.
      Parameters:
      bytesize - positive size in bytes
      Returns: