com.ibm.as400.access
Class Verbose
- java.lang.Object
-
- com.ibm.as400.access.Verbose
-
public class Verbose extends java.lang.Object
The Verbose class prints verbose output depending on the state of a flag.
-
-
Constructor Summary
Constructors Constructor and Description Verbose()
-
Method Summary
Methods Modifier and Type Method and Description static void
forcePrintln(java.lang.String text)
Prints text.static boolean
isVerbose()
Indicates if verbose output is printed.static void
println(java.lang.Exception e)
static void
println(java.lang.String text)
Prints text, if appropriate.static void
setVerbose(boolean verbose)
Sets whether verbose output is printed.
-
-
-
Method Detail
-
forcePrintln
public static void forcePrintln(java.lang.String text)
Prints text.- Parameters:
text
- The text.
-
isVerbose
public static boolean isVerbose()
Indicates if verbose output is printed.- Returns:
- true if verbose output is printed; false otherwise.
-
println
public static void println(java.lang.Exception e)
-
println
public static void println(java.lang.String text)
Prints text, if appropriate.- Parameters:
text
- The text.
-
setVerbose
public static void setVerbose(boolean verbose)
Sets whether verbose output is printed.- Parameters:
verbose
- true if verbose output is printed; false otherwise.
-
-