Package org.apache.rat.analysis.license
Class ApacheSoftwareLicense20
- java.lang.Object
-
- org.apache.rat.analysis.license.BaseLicense
-
- org.apache.rat.analysis.license.SimplePatternBasedLicense
-
- org.apache.rat.analysis.license.ApacheSoftwareLicense20
-
- All Implemented Interfaces:
IHeaderMatcher
public final class ApacheSoftwareLicense20 extends SimplePatternBasedLicense
Matches Apache License, Version 2.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFIRST_LICENSE_LINEstatic java.lang.StringFIRST_LICENSE_LINE_SHORTstatic java.lang.StringLICENSE_REFERENCE_LINEstatic java.lang.StringLICENSE_URL_HTTPstatic java.lang.StringLICENSE_URL_HTTP_HTMLstatic java.lang.StringLICENSE_URL_HTTP_TXTstatic java.lang.StringLICENSE_URL_HTTPSstatic java.lang.StringLICENSE_URL_HTTPS_HTMLstatic java.lang.StringLICENSE_URL_HTTPS_TXT
-
Constructor Summary
Constructors Constructor Description ApacheSoftwareLicense20()
-
Method Summary
-
Methods inherited from class org.apache.rat.analysis.license.SimplePatternBasedLicense
getPatterns, match, matches, reset, setPatterns
-
Methods inherited from class org.apache.rat.analysis.license.BaseLicense
getLicenseFamilyCategory, getLicenseFamilyName, getNotes, prune, reportOnLicense, setLicenseFamilyCategory, setLicenseFamilyName, setNotes
-
-
-
-
Field Detail
-
FIRST_LICENSE_LINE
public static final java.lang.String FIRST_LICENSE_LINE
- See Also:
- Constant Field Values
-
FIRST_LICENSE_LINE_SHORT
public static final java.lang.String FIRST_LICENSE_LINE_SHORT
- See Also:
- Constant Field Values
-
LICENSE_REFERENCE_LINE
public static final java.lang.String LICENSE_REFERENCE_LINE
- See Also:
- Constant Field Values
-
LICENSE_URL_HTTP
public static final java.lang.String LICENSE_URL_HTTP
- See Also:
- Constant Field Values
-
LICENSE_URL_HTTPS
public static final java.lang.String LICENSE_URL_HTTPS
- See Also:
- Constant Field Values
-
LICENSE_URL_HTTP_HTML
public static final java.lang.String LICENSE_URL_HTTP_HTML
- See Also:
- Constant Field Values
-
LICENSE_URL_HTTPS_HTML
public static final java.lang.String LICENSE_URL_HTTPS_HTML
- See Also:
- Constant Field Values
-
LICENSE_URL_HTTP_TXT
public static final java.lang.String LICENSE_URL_HTTP_TXT
- See Also:
- Constant Field Values
-
LICENSE_URL_HTTPS_TXT
public static final java.lang.String LICENSE_URL_HTTPS_TXT
- See Also:
- Constant Field Values
-
-