java.lang.Object
es.uvigo.esei.sing.textproc.TextProc
public final class TextProc extends java.lang.Object
Class whose responsibility is the high level application life cycle
management. It also provides references to objects and data which should be
shared between parts of the application.
- Author:
- Alejandro González García
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
APP_NAME
The name of the application. -
Constructor Summary
Constructors Constructor Description TextProc()
-
Method Summary
Modifier and Type Method Description static TextProc
get()
Returns the only instance of this class in the JVM.static void
main(java.lang.String[] args)
Entry point of the application.void
printProgressMessage(@NonNull java.lang.String message)
Prints progress messages to the standard output stream.
-
Field Details
-
APP_NAME
The name of the application.
-
-
Constructor Details
-
Method Details
-
main
Entry point of the application. It should be called only by the JVM.- Parameters:
args
- The command line parameters passed to the application.
-
get
Returns the only instance of this class in the JVM.- Returns:
- The described instance.
-
printProgressMessage
Prints progress messages to the standard output stream.- Parameters:
message
- The message to print.- Throws:
java.lang.IllegalArgumentException
- Ifmessage
isnull
.
-