Last update: 2011-06-23

org.proteios.core.plugin
Class AboutImpl

java.lang.Object
  extended by org.proteios.core.plugin.AboutImpl
All Implemented Interfaces:
About

public class AboutImpl
extends Object
implements About

A simple implementation of the About interface.

Version:
2.0
Author:
Enell
Last modified
$Date: 2009-04-09 08:48:11 +0200 (Thu, 09 Apr 2009) $

Field Summary
 
Fields inherited from interface org.proteios.core.plugin.About
MAX_INFORMATION_LENGTH
 
Constructor Summary
AboutImpl(String name, String description, String version, String copyright, String contact, String email, String url)
          Create a new About object.
 
Method Summary
 String getContact()
          Contact information to get more information about the plugin.
 String getCopyright()
          A copyright notice.
 String getDescription()
          A description of the plugin and what it does.
 String getEmail()
          An email adress to get more information about the plugin.
 String getName()
          The name of the plugin.
 String getUrl()
          An URL to get more information about the plugin.
 String getVersion()
          The version of the plugin software.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AboutImpl

public AboutImpl(String name,
                 String description,
                 String version,
                 String copyright,
                 String contact,
                 String email,
                 String url)
Create a new About object.

Parameters:
name - The name of the plugin, null not allowed
description - A description of the plugin
version - The version of the plugin
copyright - A copyright notice
contact - Contact information for the plugin
email - An email adress to get more information about the plugin
url - An URL to get more inforamtion about the plugin
Throws:
NullPointerException - If the name is null
Method Detail

getContact

public String getContact()
Description copied from interface: About
Contact information to get more information about the plugin. May return null.

Specified by:
getContact in interface About

getCopyright

public String getCopyright()
Description copied from interface: About
A copyright notice. May return null.

Specified by:
getCopyright in interface About

getDescription

public String getDescription()
Description copied from interface: About
A description of the plugin and what it does. May return null.

Specified by:
getDescription in interface About

getEmail

public String getEmail()
Description copied from interface: About
An email adress to get more information about the plugin. May return null.

Specified by:
getEmail in interface About

getName

public String getName()
Description copied from interface: About
The name of the plugin. Mustn't return null.

Specified by:
getName in interface About

getUrl

public String getUrl()
Description copied from interface: About
An URL to get more information about the plugin. May return null.

Specified by:
getUrl in interface About

getVersion

public String getVersion()
Description copied from interface: About
The version of the plugin software. May return null.

Specified by:
getVersion in interface About

Last update: 2011-06-23