|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.license.plugin.repository.License
public class License
The model of a license.
| Field Summary | |
|---|---|
protected String |
description
the description of the license |
protected URL |
headerURL
url of the header's template |
protected URL |
licenseURL
url of the license's content |
protected String |
name
the name of the licenses (ex lgpl-3.0) |
| Constructor Summary | |
|---|---|
License()
|
|
| Method Summary | |
|---|---|
String |
getDescription()
|
String |
getHeaderContent(String encoding)
|
URL |
getHeaderURL()
|
String |
getLicenseContent(String encoding)
|
URL |
getLicenseURL()
|
String |
getName()
|
void |
setDescription(String description)
|
void |
setHeaderURL(URL headerURL)
|
void |
setLicenseURL(URL licenseURL)
|
void |
setName(String name)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected String description
protected URL licenseURL
protected URL headerURL
| Constructor Detail |
|---|
public License()
| Method Detail |
|---|
public String getName()
public URL getLicenseURL()
public URL getHeaderURL()
public String getDescription()
public String getLicenseContent(String encoding)
throws IOException
IOException
public String getHeaderContent(String encoding)
throws IOException
IOExceptionpublic void setName(String name)
public void setLicenseURL(URL licenseURL)
public void setHeaderURL(URL headerURL)
public void setDescription(String description)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||