public class ApacheV2LicenseAppender extends AbstractLicenseAppender
| Constructor and Description |
|---|
ApacheV2LicenseAppender()
Create a license appender with the standard ASF license header.
|
ApacheV2LicenseAppender(String copyright)
Create a license appender with the given copyright line.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLicenseHeader(File document) |
append, getFirstLine, getLastLine, getLine, getType, setForcepublic ApacheV2LicenseAppender()
public ApacheV2LicenseAppender(String copyright)
copyright - copyright line.public String getLicenseHeader(File document)
getLicenseHeader in class AbstractLicenseAppenderdocument - document to extract from.Copyright © 2006–2016 Apache Software Foundation. All rights reserved.