public class ApacheV2LicenceAppender extends AbstractLicenceAppender
Constructor and Description |
---|
ApacheV2LicenceAppender()
Create a licence appender with the standard ASF licence header.
|
ApacheV2LicenceAppender(String copyright)
Create a licence appender with the given copyright line.
|
Modifier and Type | Method and Description |
---|---|
String |
getLicenceHeader(File document)
Get the licence header for a document.
|
append, getFirstLine, getLastLine, getLine, getType, setForce
public ApacheV2LicenceAppender()
public ApacheV2LicenceAppender(String copyright)
copyright
- public String getLicenceHeader(File document)
AbstractLicenceAppender
getLicenceHeader
in class AbstractLicenceAppender
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.