Class RomanEmperorsScraper


  • public class RomanEmperorsScraper
    extends java.lang.Object
    RomanEmperorsScraper's goal is the creation of family trees relating to each dynasty of Roman Emperors, with the aim of visualizing the different parental relationships that exist. This is done by scraping their data or importing them from pre-generated data files. This class represents where the execution begins and contains, in fact, the project's main method.
    Author:
    Matteo Collica
    See Also:
    DynastyChoiceFrame, DynastyTreeFrame
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.awt.Image appIconImage  
      private static boolean debugEnabled  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.awt.Image getAppIconImage()
      Construct an AppIcon object or get the already constructed one
      static boolean isDebugEnabled()  
      static void main​(java.lang.String[] args)
      The main method begins the project's execution by detecting the Operating System, setting up a custom Look and Feel for Swing and starting the Dynasty Choice Frame
      • Methods inherited from class java.lang.Object

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

      • appIconImage

        private static java.awt.Image appIconImage
      • debugEnabled

        private static boolean debugEnabled
    • Constructor Detail

      • RomanEmperorsScraper

        public RomanEmperorsScraper()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        The main method begins the project's execution by detecting the Operating System, setting up a custom Look and Feel for Swing and starting the Dynasty Choice Frame
        Parameters:
        args - eventual command line arguments
      • getAppIconImage

        public static java.awt.Image getAppIconImage()
        Construct an AppIcon object or get the already constructed one
        Returns:
        the App Icon as an Image object
      • isDebugEnabled

        public static boolean isDebugEnabled()