Class ApacheV2LicenseAppender

java.lang.Object
org.apache.rat.annotation.AbstractLicenseAppender
org.apache.rat.annotation.ApacheV2LicenseAppender

public class ApacheV2LicenseAppender extends AbstractLicenseAppender
Add an Apache License V2 license header to a document. This appender does not check for the existence of an existing license header, it is assumed that either a second license header is intentional or that there is no license header present already.
  • Constructor Details

    • ApacheV2LicenseAppender

      public ApacheV2LicenseAppender(Log log)
      Create a license appender with the standard ASF license header.
    • ApacheV2LicenseAppender

      public ApacheV2LicenseAppender(Log log, String copyright)
      Create a license appender with the given copyright line. This should be of the form "Copyright 2008 Foo"
      Parameters:
      copyright - copyright line.
  • Method Details