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, setForcepublic ApacheV2LicenceAppender()
public ApacheV2LicenceAppender(String copyright)
copyright - public String getLicenceHeader(File document)
AbstractLicenceAppendergetLicenceHeader in class AbstractLicenceAppenderCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.