Interface JWFileSizeFormatterType


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

      • 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")