public class FS_POSIX_Java6 extends FS_POSIX
FS.Attributes, FS.FSFactory| Constructor and Description |
|---|
FS_POSIX_Java6()
Constructor
|
FS_POSIX_Java6(FS src)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute(File f)
Determine if the file is executable (or not).
|
static boolean |
hasExecute() |
FS |
newInstance() |
boolean |
retryFailedLockFileCommit()
Does this file system have problems with atomic renames?
|
boolean |
setExecute(File f,
boolean canExec)
Set a file to be executable by the user.
|
boolean |
supportsExecute()
Does this operating system and JRE support the execute flag on files?
|
discoverGitPrefix, isCaseSensitive, runInShell, setHiddencreateSymLink, delete, detect, detect, exists, getAttributes, gitPrefix, isDirectory, isFile, isHidden, isSymLink, lastModified, length, normalize, normalize, readPipe, readSymLink, resolve, searchPath, setGitPrefix, setLastModified, setUserHome, supportsSymlinks, userHome, userHomeImplpublic FS_POSIX_Java6()
public FS_POSIX_Java6(FS src)
src - instance whose attributes to copypublic static boolean hasExecute()
public FS newInstance()
newInstance in class FSpublic boolean supportsExecute()
FSsupportsExecute in class FSpublic boolean canExecute(File f)
FSNot all platforms and JREs support executable flags on files. If the feature is unsupported this method will always return false.
If the platform supports symbolic links and f is a symbolic link
this method returns false, rather than the state of the executable flags
on the target file.
canExecute in class FSf - abstract path to test.public boolean setExecute(File f, boolean canExec)
FSNot all platforms and JREs support executable flags on files. If the feature is unsupported this method will always return false and no changes will be made to the file specified.
setExecute in class FSf - path to modify the executable status of.canExec - true to enable execution; false to disable it.public boolean retryFailedLockFileCommit()
FSretryFailedLockFileCommit in class FSCopyright © 2014. All rights reserved.