- All Superinterfaces:
Flushable
-
Method Details
-
getLogLevel
CliLogLevel getLogLevel()- Returns:
- the current
CliLogLevelof this console.
-
getLocale
Locale getLocale()- Returns:
- the
Localefor the user.
-
out
- Returns:
- the
CliOutforstandard out.
-
out
- Parameters:
level- theCliLogLevel.- Returns:
- the
CliOutfor the givenCliLogLevel.
-
debug
- Returns:
- the
CliOutforCliLogLevel.DEBUG.
-
info
- Returns:
- the
CliOutforCliLogLevel.INFO.
-
warning
- Returns:
- the
CliOutforCliLogLevel.WARNING.
-
error
- Returns:
- the
CliOutforCliLogLevel.ERROR.
-
in
CliIn in()- Returns:
- the
CliInto read input values.
-
getStdOut
PrintStream getStdOut()- Returns:
- the
PrintStreamto use as standard output. Defaults toSystem.out.
-
getStdErr
PrintStream getStdErr()- Returns:
- the
PrintStreamto use as standard error. Defaults toSystem.err.
-
flush
void flush()
-