Class Misc


  • public final class Misc
    extends java.lang.Object
    Contains methods to do misc tasks.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Misc.SecondsConverter
      Contains methods to convert seconds into a readable format.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String ConvertBytes​(double input)
      Returns the conversion from bytes to the correct version (1024 bytes = 1 KB).
      • Methods inherited from class java.lang.Object

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

      • ConvertBytes

        public static java.lang.String ConvertBytes​(double input)
        Returns the conversion from bytes to the correct version (1024 bytes = 1 KB).
        Parameters:
        input - Number to convert to a readable string
        Returns:
        Specified number converted to a readable string