Interface JWFileSizeFormatterType


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

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

    • formatSize

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