public interface SystemAccess
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SystemAccess.Console |
static class |
SystemAccess.HaltingException |
| Modifier and Type | Method and Description |
|---|---|
SystemAccess.Console |
console() |
void |
copyDirectory(Path source,
Path target) |
Path |
createDirectory(Path dir,
FileAttribute<?>... attrs) |
Path |
createTemporaryDirectory(String prefix,
FileAttribute<?>... attrs) |
Path |
currentWorkingDirectory() |
PrintStream |
err() |
<T> T |
exit(int status) |
Path |
move(Path source,
Path target,
CopyOption... options) |
PrintStream |
out() |
void |
recursiveDelete(Path tmpNiogit) |
void |
setProperty(String name,
String value) |
<T> T exit(int status)
throws SystemAccess.HaltingException
SystemAccess.HaltingException - Thrown for implementations that do not acutally exit the JVM so that execution is interrupted.SystemAccess.Console console()
PrintStream err()
PrintStream out()
Path move(Path source, Path target, CopyOption... options) throws IOException
IOExceptionPath createDirectory(Path dir, FileAttribute<?>... attrs) throws IOException
IOExceptionPath createTemporaryDirectory(String prefix, FileAttribute<?>... attrs) throws IOException
IOExceptionPath currentWorkingDirectory()
void recursiveDelete(Path tmpNiogit) throws IOException
IOExceptionvoid copyDirectory(Path source, Path target) throws IOException
IOExceptionCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.