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, userHomeImpl
protected FS_POSIX()
protected FS_POSIX(FS src)
src
- FS to copy some settings fromprotected File discoverGitPrefix()
discoverGitPrefix
in class FS
public boolean isCaseSensitive()
FS
isCaseSensitive
in class FS
public void setHidden(File path, boolean hidden) throws IOException
FS
setHidden
in class FS
IOException
public ProcessBuilder runInShell(String cmd, String[] args)
FS
runInShell
in class FS
cmd
- 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.