java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.util.HumanReadbleByteCount

public class HumanReadbleByteCount extends Object
Convert bytes in human readable values like 12.12GB or 5.23 MB etc.
  • Constructor Details

    • HumanReadbleByteCount

      public HumanReadbleByteCount()
  • Method Details

    • convert

      public static String convert(long bytes)
      Convert bytes in human readable values like 12.12GB or 5.23 MB etc.
      Parameters:
      bytes - the number of bytes to convert
      Returns:
      a string representig the number of bytes in human readable format