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
IOException
Path createDirectory(Path dir, FileAttribute<?>... attrs) throws IOException
IOException
Path createTemporaryDirectory(String prefix, FileAttribute<?>... attrs) throws IOException
IOException
Path currentWorkingDirectory()
void recursiveDelete(Path tmpNiogit) throws IOException
IOException
void copyDirectory(Path source, Path target) throws IOException
IOException
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.