Package org.codehaus.mojo.license.model
Class License
java.lang.Object
org.codehaus.mojo.license.model.License
The model of a license.
- Since:
 - 1.0
 - Author:
 - tchemit dev@tchemit.fr
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected URLbase url of license (directory where to find license files).protected Stringthe description of the license.protected URLurl of the license header's content.static final Stringstatic final Stringprotected URLurl of the license's content.protected Stringthe name of the licenses (ex lgpl-3.0).static final String - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetHeaderContent(String encoding) getLicenseContent(String encoding) getName()booleanbooleanvoidsetBaseURL(URL baseURL) voidsetDescription(String description) voidsetHeaderURL(URL headerURL) voidsetLicenseURL(URL licenseURL) voidtoString() 
- 
Field Details
- 
LICENSE_HEADER_FILE
- See Also:
 
 - 
LICENSE_CONTENT_FILE
- See Also:
 
 - 
TEMPLATE_SUFFIX
- See Also:
 
 - 
baseURL
base url of license (directory where to find license files). - 
name
the name of the licenses (ex lgpl-3.0). - 
description
the description of the license. - 
licenseURL
url of the license's content. - 
headerURL
url of the license header's content. 
 - 
 - 
Constructor Details
- 
License
public License() 
 - 
 - 
Method Details
- 
getName
 - 
getLicenseURL
 - 
getHeaderURL
 - 
getDescription
 - 
getBaseURL
 - 
isHeaderContentTemplateAware
public boolean isHeaderContentTemplateAware() - 
isLicenseContentTemplateAware
public boolean isLicenseContentTemplateAware() - 
getLicenseContent
- Throws:
 IOException
 - 
getHeaderContent
- Throws:
 IOException
 - 
setName
 - 
setDescription
 - 
setBaseURL
 - 
setLicenseURL
 - 
setHeaderURL
 - 
toString
 
 -