|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.rat.annotation.AbstractLicenceAppender
org.apache.rat.annotation.ApacheV2LicenceAppender
public class ApacheV2LicenceAppender
Add an Apache Software Licence V2 licence header to a document. This appender does not check for the existence of an existing licence header, it is assumed that either a second licence header is intentional or that there is no licence header present already.
Constructor Summary | |
---|---|
ApacheV2LicenceAppender()
Create a licence appender with the standard ASF licence header. |
|
ApacheV2LicenceAppender(java.lang.String copyright)
Create a licence appender with the given copyright line. |
Method Summary | |
---|---|
java.lang.String |
getLicenceHeader(java.io.File document)
Get the licence header for a document. |
Methods inherited from class org.apache.rat.annotation.AbstractLicenceAppender |
---|
append, getFirstLine, getLastLine, getLine, getType, setForce |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApacheV2LicenceAppender()
public ApacheV2LicenceAppender(java.lang.String copyright)
copyright
- Method Detail |
---|
public java.lang.String getLicenceHeader(java.io.File document)
AbstractLicenceAppender
getLicenceHeader
in class AbstractLicenceAppender
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |