Package apple.foundation.enums
Class NSDirectoryEnumerationOptions
- java.lang.Object
-
- apple.foundation.enums.NSDirectoryEnumerationOptions
-
public final class NSDirectoryEnumerationOptions extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longIncludesDirectoriesPostOrderNSDirectoryEnumerationIncludesDirectoriesPostOrder causes the NSDirectoryEnumerator to enumerate each directory a second time after all of its contained files have been enumerated.static longProducesRelativePathURLsNSDirectoryEnumerationProducesRelativePathURLs causes the NSDirectoryEnumerator to always produce file path URLs relative to the directoryURL.static longSkipsHiddenFilesNSDirectoryEnumerationSkipsHiddenFiles causes the NSDirectoryEnumerator to not enumerate hidden files.static longSkipsPackageDescendantsNSDirectoryEnumerationSkipsPackageDescendants will cause the NSDirectoryEnumerator to not descend into packages.static longSkipsSubdirectoryDescendantsNSDirectoryEnumerationSkipsSubdirectoryDescendants causes the NSDirectoryEnumerator to perform a shallow enumeration and not descend into directories it encounters.
-
-
-
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
-
-