public class CmdLineOut
extends java.lang.Object
History:
Constructor and Description |
---|
CmdLineOut() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
GetOutString()
Get the output String
|
static void |
Print(java.io.BufferedWriter outWriter,
java.lang.String msg,
boolean fileOutput,
boolean toStringFlag)
Print message to a designated output buffer.
|
static void |
Println(java.io.BufferedWriter outWriter,
java.lang.String msg,
boolean fileOutput,
boolean toStringFlag)
Print message and append a linebreaker to a designated output buffer
|
static void |
Println(java.lang.String msg,
boolean verbose)
Print a message to standard output.
|
static void |
ResetOutString()
Reset the output string
|
public static void Println(java.lang.String msg, boolean verbose)
msg
- the message string to be printedverbose
- the verbose flag to print out the messagepublic static void Print(java.io.BufferedWriter outWriter, java.lang.String msg, boolean fileOutput, boolean toStringFlag) throws java.io.IOException
outWriter
- the designated outputsmsg
- massage for printing outtoStringFlag
- a boolean flag for sending output to a Stringjava.io.IOException
public static void Println(java.io.BufferedWriter outWriter, java.lang.String msg, boolean fileOutput, boolean toStringFlag) throws java.io.IOException
outWriter
- the designated outputsmsg
- massage for printing outfileOutput
- a boolean flag for sending the output to a filetoStringFlag
- a boolean flag for sending output to a Stringjava.io.IOException
public static void ResetOutString()
public static java.lang.String GetOutString()
Submit a bug or feature
Copyright © 2015 National Library of Medicine