Class JWFileChooserConfigurationDefaults


  • public final class JWFileChooserConfigurationDefaults
    extends java.lang.Object
    Default values used for file chooser configurations.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static JWFileSizeFormatterType fileSizeFormatter()
      This is a basic file size formatter that displays fractional kilobyte, megabyte, gigabyte, and terabyte values depending on sizes.
      static java.time.format.DateTimeFormatter fileTimeFormatter()
      The default date/time formatter.
      • Methods inherited from class java.lang.Object

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

      • fileTimeFormatter

        public static java.time.format.DateTimeFormatter fileTimeFormatter()
        The default date/time formatter. This is essentially ISO-8601 format without microseconds.
        Returns:
        A date/time formatter
      • fileSizeFormatter

        public static JWFileSizeFormatterType fileSizeFormatter()
        This is a basic file size formatter that displays fractional kilobyte, megabyte, gigabyte, and terabyte values depending on sizes.
        Returns:
        A size formatter