public abstract class RunningBear
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static DB |
db
db is the current MDELite7 database db = DB.read(database);
|
Constructor and Description |
---|
RunningBear() |
Modifier and Type | Method and Description |
---|---|
static void |
closeOut()
closeOut the current output file (unless it is System.out)
|
static java.lang.String |
getDatabase() |
static java.io.PrintStream |
getOut()
return output printstream
|
static java.lang.String |
getOutputFileName() |
static void |
l()
print empty line
|
static void |
l(int n)
print n empty lines
|
static void |
l(java.lang.String fmt,
java.lang.Object... args)
printline(format, arguments)
|
static void |
openOut(java.io.PrintStream o)
send all further output to outputFile closeOut the current file (unless
it is System.out)
|
static void |
openOut(java.lang.String outputFile)
send all further output to outputFile closeOut the current file (unless
it is System.out)
|
static void |
p(java.lang.String fmt,
java.lang.Object... args)
print(format, arguments) -- no line eject
|
static void |
RBSetup(Marquee2Arguments mark,
java.lang.String[] args)
opens database and creates PrintStream for RunningBear output
|
public static DB db
public static void RBSetup(Marquee2Arguments mark, java.lang.String[] args)
mark
- -- a Marquee objectargs
- -- command-line arguments from main(args)public static java.lang.String getDatabase()
public static java.lang.String getOutputFileName()
public static void l(java.lang.String fmt, java.lang.Object... args)
fmt
- -- formatargs
- -- argument listpublic static void l()
public static void l(int n)
n
- -- number of empty lines to printpublic static void p(java.lang.String fmt, java.lang.Object... args)
fmt
- -- formatargs
- -- argument listpublic static void openOut(java.lang.String outputFile)
outputFile
- -- the name of the output file for RunningBearpublic static void openOut(java.io.PrintStream o)
o
- -- new output stream for RBpublic static void closeOut()
public static java.io.PrintStream getOut()