com.gargoylesoftware.htmlunit
Class Version

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.Version

public 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.

Version:
$Revision: 2132 $
Author:
Mike Bowler, Ahmed Ashour

Constructor Summary
Version()
           
 
Method Summary
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
 

Constructor Detail

Version

public Version()
Method Detail

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.


Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.