public class ApacheV2LicenseAppender extends AbstractLicenseAppender
Constructor and Description |
---|
ApacheV2LicenseAppender(Log log)
Create a license appender with the standard ASF license header.
|
ApacheV2LicenseAppender(Log log,
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, setForce
public ApacheV2LicenseAppender(Log log)
log
- The log to use during processing.public String getLicenseHeader(File document)
getLicenseHeader
in class AbstractLicenseAppender
document
- document to extract from.Copyright © 2006–2024 Apache Software Foundation. All rights reserved.