|
BioLegato 0.5.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biolegato.core.main.BLMain
public final class BLMain
The main program and generic function class.
This class is used to generate the main window, do all startup processing, and run the program. This class also contains all of the utility functions, and a wide assortment of utility classes.
Field Summary | |
---|---|
static java.lang.String |
NAME
This constant stores the program's name |
Constructor Summary | |
---|---|
BLMain()
|
Method Summary | |
---|---|
static void |
error(java.lang.String message)
Sends an error message to BioLegato's standard err. |
static void |
error(java.lang.String message,
java.lang.String location)
Sends an error message to BioLegato's standard err. |
static void |
main(java.lang.String[] args)
Starts up BioLegato. |
static void |
message(java.lang.String message)
Sends a message to BioLegato's standard out. |
static void |
message(java.lang.String message,
java.lang.String location)
Sends a message to BioLegato's standard out. |
static java.lang.String |
readStream(java.io.BufferedReader reader)
Reads the complete contents of a BufferedReader into a string. |
static void |
warning(java.lang.String message)
Sends an warning message to BioLegato's standard err. |
static void |
warning(java.lang.String message,
java.lang.String location)
Sends an warning message to BioLegato's standard err. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
Constructor Detail |
---|
public BLMain()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- the command line arguments.public static void error(java.lang.String message)
message
- the error message to send.public static void error(java.lang.String message, java.lang.String location)
message
- the error message to send.location
- the location the error occurred.public static void warning(java.lang.String message)
message
- the warning message to send.public static void warning(java.lang.String message, java.lang.String location)
message
- the warning message to send.location
- the location the error occurred.public static void message(java.lang.String message)
message
- the message to send.public static void message(java.lang.String message, java.lang.String location)
message
- the message to send.location
- the location the message was sent from.public static java.lang.String readStream(java.io.BufferedReader reader) throws java.io.IOException
reader
- the BufferedReader to read.
java.io.IOException
- throws any exceptions from the read operation.
|
BioLegato 0.5.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |