Class ClassIndex

java.lang.Object
ClassIndex

public class ClassIndex extends Object
Index of supported character class types (singleton pattern).
Since:
2014-05-22
  • Field Details

    • CLASS_INDEX_FILE

      final String CLASS_INDEX_FILE
      Name of file with class information.
      See Also:
    • instance

      static ClassIndex instance
      The singleton class instance.
    • classTypeList

      ClassType[] classTypeList
      Array of ClassInfo records.
  • Constructor Details

    • ClassIndex

      protected ClassIndex() throws IOException
      Constructor (read from dedicated file).
      Throws:
      IOException
  • Method Details

    • getInstance

      public static ClassIndex getInstance()
      Access the singleton class instance.
    • getTypeFromName

      public ClassType getTypeFromName(String name)
      Get ClassType for a given class name.
    • getTypeFromTitle

      public ClassType getTypeFromTitle(String title)
      Get ClassType for a given class title.
    • main

      public static void main(String[] args)
      Main test method.