public class

SizeFormatter

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

Class Overview

Size formatting utility methods.

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