Class NSByteCountFormatterCountStyle


  • public final class NSByteCountFormatterCountStyle
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Binary
      1024 bytes are shown as 1 KB
      static long Decimal
      1000 bytes are shown as 1 KB
      static long File
      Specifies display of file or storage byte counts.
      static long Memory
      Specifies display of memory byte counts.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • File

        public static final long File
        Specifies display of file or storage byte counts. The actual behavior for this is platform-specific; on OS X 10.8, this uses the decimal style, but that may change over time.
        See Also:
        Constant Field Values
      • Memory

        public static final long Memory
        Specifies display of memory byte counts. The actual behavior for this is platform-specific; on OS X 10.8, this uses the binary style, but that may change over time.
        See Also:
        Constant Field Values