Package org.htmlunit
Class Version
- java.lang.Object
-
- org.htmlunit.Version
-
public final class Version extends java.lang.Object
Class to display version information about HtmlUnit. This is the class that will be executed if the JAR file is run.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getCopyright()
Returns the copyright notice.static java.lang.String
getProductName()
Returns "HtmlUnit".static java.lang.String
getProductVersion()
Returns the current implementation version.static void
main(java.lang.String[] args)
The main entry point into this class.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
The main entry point into this class.- Parameters:
args
- the arguments passed on the command line- Throws:
java.lang.Exception
- if an error occurs
-
getProductName
public static java.lang.String getProductName()
Returns "HtmlUnit".- Returns:
- "HtmlUnit"
-
getProductVersion
public static java.lang.String getProductVersion()
Returns the current implementation version.- Returns:
- the current implementation version
-
getCopyright
public static java.lang.String getCopyright()
Returns the copyright notice.- Returns:
- the copyright notice
-
-