public class

SizeFormatter

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

Class Overview

Computer sizes formatting utility methods (bytes, kilo-bytes, etc.)

Summary

Public Constructors
SizeFormatter()
Public Methods
static String formatByteSize(long bytesize)
Format a bytes size as a human-readable string.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SizeFormatter ()

Public Methods

public static String formatByteSize (long bytesize)

Format a bytes size as a human-readable string.

Parameters
bytesize positive size in bytes