public abstract class FS_POSIX extends FS
FS.Attributes, FS.FSFactory| Modifier | Constructor and Description |
|---|---|
protected |
FS_POSIX()
Default constructor
|
protected |
FS_POSIX(FS src)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected File |
discoverGitPrefix() |
boolean |
isCaseSensitive()
Is this file system case sensitive
|
ProcessBuilder |
runInShell(String cmd,
String[] args)
Initialize a ProcesssBuilder to run a command using the system shell.
|
void |
setHidden(File path,
boolean hidden)
Set the hidden attribute for file whose name starts with a period.
|
canExecute, createSymLink, delete, detect, detect, exists, getAttributes, gitPrefix, isDirectory, isFile, isHidden, isSymLink, lastModified, length, newInstance, normalize, normalize, readPipe, readSymLink, resolve, retryFailedLockFileCommit, searchPath, setExecute, setGitPrefix, setLastModified, setUserHome, supportsExecute, supportsSymlinks, userHome, userHomeImplprotected FS_POSIX()
protected FS_POSIX(FS src)
src - FS to copy some settings fromprotected File discoverGitPrefix()
discoverGitPrefix in class FSpublic boolean isCaseSensitive()
FSisCaseSensitive in class FSpublic void setHidden(File path, boolean hidden) throws IOException
FSsetHidden in class FSIOExceptionpublic ProcessBuilder runInShell(String cmd, String[] args)
FSrunInShell in class FScmd - command to execute. This string should originate from the
end-user, and thus is platform specific.args - arguments to pass to command. These should be protected from
shell evaluation.Copyright © 2014. All rights reserved.