Class FileSizeFormatter


  • public class FileSizeFormatter
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String humanReadableByteCount​(long bytes, boolean decimal, int precision)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileSizeFormatter

        public FileSizeFormatter()
    • Method Detail

      • humanReadableByteCount

        public static java.lang.String humanReadableByteCount​(long bytes,
                                                              boolean decimal,
                                                              int precision)