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, setForcepublic ApacheV2LicenceAppender()
public ApacheV2LicenceAppender(String copyright)
copyright - copyright line.public String getLicenceHeader(File document)
getLicenceHeader in class AbstractLicenceAppenderdocument - document to extract from.Copyright © 2006–2018 Apache Software Foundation. All rights reserved.