public class BasicProjectInfo extends Library
Constructor and Description |
---|
BasicProjectInfo()
Default constructor.
|
BasicProjectInfo(String name,
String version,
String licence,
String info)
Creates a new library reference.
|
BasicProjectInfo(String name,
String version,
String info,
String copyright,
String licenceName)
Creates a new project info instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addLibrary(Library library)
Adds a library.
|
void |
addOptionalLibrary(Library library)
Adds an optional library.
|
void |
addOptionalLibrary(String libraryClass)
Adds an optional library.
|
String |
getCopyright()
Returns the copyright statement.
|
Library[] |
getLibraries()
Returns a list of libraries used by the project.
|
Library[] |
getOptionalLibraries()
Returns a list of optional libraries used by the project.
|
void |
setCopyright(String copyright)
Sets the project copyright statement.
|
void |
setInfo(String info)
Sets the project info string (for example, this could be the project URL).
|
void |
setLicenceName(String licence)
Sets the license name.
|
void |
setName(String name)
Sets the project name.
|
void |
setVersion(String version)
Sets the project version number.
|
equals, getInfo, getLicenceName, getName, getVersion, hashCode
public BasicProjectInfo()
public BasicProjectInfo(String name, String version, String licence, String info)
name
- the name.version
- the version.licence
- the licence.info
- the web address or other info.public BasicProjectInfo(String name, String version, String info, String copyright, String licenceName)
name
- the project name.version
- the project version.info
- the project info (web site for example).copyright
- the copyright statement.licenceName
- the license name.public String getCopyright()
public void setCopyright(String copyright)
copyright
- the project copyright statement.public void setInfo(String info)
public void setLicenceName(String licence)
setLicenceName
in class Library
licence
- the license name.public void setName(String name)
public void setVersion(String version)
setVersion
in class Library
version
- the version number.public Library[] getLibraries()
public void addLibrary(Library library)
library
- the library.public Library[] getOptionalLibraries()
public void addOptionalLibrary(String libraryClass)
libraryClass
- the library.public void addOptionalLibrary(Library library)
library
- the library.Copyright © 2001–2018 JFree.org. All rights reserved.