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 Summary

  Modifier and Type
  Method
  Description
  `static String`
  `getCopyright()`
  Returns the copyright notice.
  `static String`
  `getProductName()`
  Returns "HtmlUnit".
  `static String`
  `getProductVersion()`
  Returns the current implementation version.
  `static void`
  `main(String[] args)`
  The main entry point into this class.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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