org.jtheque.core.managers.core.application
Interface Application

All Known Implementing Classes:
XMLApplication

public interface Application

A JTheque Core application specification.

Author:
Baptiste Wicht

Method Summary
 org.jtheque.utils.bean.InternationalString getAuthor()
          Return the author of the application.
 org.jtheque.utils.bean.InternationalString getCopyright()
          Return the copyright of the application.
 org.jtheque.utils.bean.InternationalString getEmail()
          Return the email of the author of the application.
 java.lang.String getFolderPath()
          The path to the folder of the installation.
 java.lang.String getLicenceFilePath()
          Return the path to the licence.
 java.lang.String getLogo()
          Return the path to the logo.
 ImageType getLogoType()
          Return the image type of the logo.
 java.lang.String getMessageFileURL()
          Return the messages file url for the application.
 org.jtheque.utils.bean.InternationalString getName()
          Return the name of the application.
 java.lang.String getProperty(java.lang.String key)
          Return the application property.
 java.lang.String getRepository()
          Return the url of the application repository.
 org.jtheque.utils.bean.InternationalString getSite()
          Return the site of the application.
 java.lang.String[] getSupportedLanguages()
          Return all the supported languages of the application.
 org.jtheque.utils.bean.Version getVersion()
          Return the application version.
 java.lang.String getWindowIcon()
          Return the path to the window icon.
 ImageType getWindowIconType()
          Return the image type of the window icon.
 boolean isDisplayLicence()
          Indicate if we must display the licence.
 

Method Detail

getLogo

java.lang.String getLogo()
Return the path to the logo.

Returns:
The path to the logo.

getLogoType

ImageType getLogoType()
Return the image type of the logo.

Returns:
The image type of the logo.

getWindowIcon

java.lang.String getWindowIcon()
Return the path to the window icon.

Returns:
The path to the window icon.

getWindowIconType

ImageType getWindowIconType()
Return the image type of the window icon.

Returns:
The image type of the window icon.

getLicenceFilePath

java.lang.String getLicenceFilePath()
Return the path to the licence.

Returns:
The path to the licence of the application.

getVersion

org.jtheque.utils.bean.Version getVersion()
Return the application version.

Returns:
The version of the application.

getFolderPath

java.lang.String getFolderPath()
The path to the folder of the installation.

Returns:
The path to the application folder.

isDisplayLicence

boolean isDisplayLicence()
Indicate if we must display the licence.

Returns:
true if we must display the licence else false.

getRepository

java.lang.String getRepository()
Return the url of the application repository.

Returns:
The URL to the application repository.

getMessageFileURL

java.lang.String getMessageFileURL()
Return the messages file url for the application.

Returns:
The URL to the messages files of the application.

getName

org.jtheque.utils.bean.InternationalString getName()
Return the name of the application.

Returns:
The name of the application.

getAuthor

org.jtheque.utils.bean.InternationalString getAuthor()
Return the author of the application.

Returns:
The author of the application.

getEmail

org.jtheque.utils.bean.InternationalString getEmail()
Return the email of the author of the application.

Returns:
The email of the author of the application.

getSite

org.jtheque.utils.bean.InternationalString getSite()
Return the site of the application.

Returns:
The site of the application.

getCopyright

org.jtheque.utils.bean.InternationalString getCopyright()
Return the copyright of the application.

Returns:
The copyright of the application.

getSupportedLanguages

java.lang.String[] getSupportedLanguages()
Return all the supported languages of the application.

Returns:
An array containing the languages than the application support.

getProperty

java.lang.String getProperty(java.lang.String key)
Return the application property.

Parameters:
key - The key of the property.
Returns:
The value of the property or empty string if there is no property with this key.


Copyright © 2009 JTheque. All Rights Reserved.