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) |
append, getFirstLine, getLastLine, getLine, getType, setForce
public ApacheV2LicenceAppender()
public ApacheV2LicenceAppender(String copyright)
copyright
- copyright line.public String getLicenceHeader(File document)
getLicenceHeader
in class AbstractLicenceAppender
document
- document to extract from.Copyright © 2006–2016 Apache Software Foundation. All rights reserved.