Package org.htmlunit

Class Version

java.lang.Object
org.htmlunit.Version

public final class Version extends Object
Class to display version information about HtmlUnit. This is the class that will be executed if the JAR file is run.
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      The main entry point into this class.
      Parameters:
      args - the arguments passed on the command line
      Throws:
      Exception - if an error occurs
    • getProductName

      public static String getProductName()
      Returns "HtmlUnit".
      Returns:
      "HtmlUnit"
    • getProductVersion

      public static String getProductVersion()
      Returns the current implementation version.
      Returns:
      the current implementation version
    • getCopyright

      public static String getCopyright()
      Returns the copyright notice.
      Returns:
      the copyright notice