Package nl.vpro.util

Class FileSizeFormatter

java.lang.Object
nl.vpro.util.FileSizeFormatter

public class FileSizeFormatter extends Object
Formatting file sizes it not always very trivial. This can help.

E.g.


 FileSizeFormatter.DEFAULT.format(12345)
 
 
For customizing a builder is available (Use builder())

Find more examples in FileSizeFormatterTest.

Since:
1.76
Author:
Michiel Meeuwissen