Interface JWFileSizeFormatterType


public interface JWFileSizeFormatterType
A formatter for file size values.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String formatSize​(long size)
    Format the given size in bytes as a humanly-readable string.
  • Method Details

    • formatSize

      java.lang.String formatSize​(long size)
      Format the given size in bytes as a humanly-readable string.
      Parameters:
      size - The file size
      Returns:
      A humanly-readable size description (such as "2.3MB")