org.jboss.tools.license
Class ValidateLicenseHeaders

java.lang.Object
  extended byorg.jboss.tools.license.ValidateLicenseHeaders

public class ValidateLicenseHeaders
extends java.lang.Object

A utility which scans all java source files in the cvs tree and validates the license header prior to the package statement for headers that match those declared in thirdparty/licenses/thirdparty-licenses.xml


Constructor Summary
ValidateLicenseHeaders()
           
 
Method Summary
static java.lang.String getElementContent(org.w3c.dom.Element element)
          Get all non-comment content from the element.
static void main(java.lang.String[] args)
          ValidateLicenseHeaders jboss-src-root
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidateLicenseHeaders

public ValidateLicenseHeaders()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
ValidateLicenseHeaders jboss-src-root

Parameters:
args -
Throws:
java.lang.Exception

getElementContent

public static java.lang.String getElementContent(org.w3c.dom.Element element)
Get all non-comment content from the element.

Parameters:
element -
Returns: