Class IoUtil
java.lang.Object
org.keycloak.client.registration.cli.util.IoUtil
- Author:
- Marko Strukelj
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidensureFile(Path path) static voidstatic voidstatic voidstatic voidstatic StringreadFileOrStdin(String file) static StringreadFully(InputStream is) static StringreadSecret(String prompt, org.jboss.aesh.console.command.invocation.CommandInvocation invocation) static voidwaitFor(long millis) static voidstatic voidstatic voidstatic void
-
Constructor Details
-
IoUtil
public IoUtil()
-
-
Method Details
-
readFileOrStdin
-
waitFor
public static void waitFor(long millis) -
readSecret
-
readFully
-
ensureFile
- Throws:
IOException
-
printOut
-
printErr
-
printfOut
-
warnOut
-
warnErr
-
warnfOut
-
warnfErr
-
logOut
-