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