Class NSDirectoryEnumerationOptions


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

      Fields 
      Modifier and Type Field Description
      static long IncludesDirectoriesPostOrder
      NSDirectoryEnumerationIncludesDirectoriesPostOrder causes the NSDirectoryEnumerator to enumerate each directory a second time after all of its contained files have been enumerated.
      static long ProducesRelativePathURLs
      NSDirectoryEnumerationProducesRelativePathURLs causes the NSDirectoryEnumerator to always produce file path URLs relative to the directoryURL.
      static long SkipsHiddenFiles
      NSDirectoryEnumerationSkipsHiddenFiles causes the NSDirectoryEnumerator to not enumerate hidden files.
      static long SkipsPackageDescendants
      NSDirectoryEnumerationSkipsPackageDescendants will cause the NSDirectoryEnumerator to not descend into packages.
      static long SkipsSubdirectoryDescendants
      NSDirectoryEnumerationSkipsSubdirectoryDescendants causes the NSDirectoryEnumerator to perform a shallow enumeration and not descend into directories it encounters.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • SkipsSubdirectoryDescendants

        public static final long SkipsSubdirectoryDescendants
        NSDirectoryEnumerationSkipsSubdirectoryDescendants causes the NSDirectoryEnumerator to perform a shallow enumeration and not descend into directories it encounters.
        See Also:
        Constant Field Values
      • SkipsPackageDescendants

        public static final long SkipsPackageDescendants
        NSDirectoryEnumerationSkipsPackageDescendants will cause the NSDirectoryEnumerator to not descend into packages.
        See Also:
        Constant Field Values
      • SkipsHiddenFiles

        public static final long SkipsHiddenFiles
        NSDirectoryEnumerationSkipsHiddenFiles causes the NSDirectoryEnumerator to not enumerate hidden files.
        See Also:
        Constant Field Values
      • IncludesDirectoriesPostOrder

        public static final long IncludesDirectoriesPostOrder
        NSDirectoryEnumerationIncludesDirectoriesPostOrder causes the NSDirectoryEnumerator to enumerate each directory a second time after all of its contained files have been enumerated. Use NSDirectoryEnumerator.isEnumeratingDirectoryPostOrder to differentiate a post-order enumerated directory from a pre-order one.
        See Also:
        Constant Field Values
      • ProducesRelativePathURLs

        public static final long ProducesRelativePathURLs
        NSDirectoryEnumerationProducesRelativePathURLs causes the NSDirectoryEnumerator to always produce file path URLs relative to the directoryURL. This can reduce the size of each URL object returned during enumeration.
        See Also:
        Constant Field Values