public static class FileTreeIterator.DefaultFileModeStrategy extends Object implements FileTreeIterator.FileModeStrategy
Modifier and Type | Field and Description |
---|---|
static FileTreeIterator.DefaultFileModeStrategy |
INSTANCE
a singleton instance of the default FileModeStrategy
|
Constructor and Description |
---|
DefaultFileModeStrategy() |
Modifier and Type | Method and Description |
---|---|
FileMode |
getMode(File f,
FS.Attributes attributes)
Compute the FileMode for a given File, based on its attributes.
|
public static final FileTreeIterator.DefaultFileModeStrategy INSTANCE
public FileMode getMode(File f, FS.Attributes attributes)
FileTreeIterator.FileModeStrategy
getMode
in interface FileTreeIterator.FileModeStrategy
f
- the file to return a FileMode forattributes
- the attributes of a fileCopyright © 2019 Eclipse JGit Project. All rights reserved.