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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • APP_NAME

      public static final java.lang.String APP_NAME
      The name of the application.
  • Constructor Details

  • Method Details

    • main

      public static void main​(java.lang.String[] args)
      Entry point of the application. It should be called only by the JVM.
      Parameters:
      args - The command line parameters passed to the application.
    • get

      public static TextProc get()
      Returns the only instance of this class in the JVM.
      Returns:
      The described instance.
    • printProgressMessage

      public void printProgressMessage​(@NonNull @NonNull java.lang.String message)
      Prints progress messages to the standard output stream.
      Parameters:
      message - The message to print.
      Throws:
      java.lang.IllegalArgumentException - If message is null.