de.janrufmonitor.framework.i18n
Interface II18nManager


public interface II18nManager

This interface must be implemented by a i18n manager object. An i18n manager object has to handle all language depend information for the framework.

Author:
Thilo Brandt

Method Summary
 String[] getIdentifiers()
          Get a list with all valid identifiers handled by this i18n manager.
 String getString(String namespace, String parameter, String identifier, String language)
          Gets a language dependend information for the given namespace, parameter and identifier.
 void loadData()
          Loads the data of this i18n manager.
 void removeNamespace(String namespace)
          Removes a namespace from the i18n manager.
 void saveData()
          Saves the data of this i18n manager.
 void setString(String namespace, String parameter, String identifier, String language, String value)
          Sets a language dependend information for the given namespace, parameter and identifier.
 void shutdown()
          This method is called on shutdown time by the runtime object.
 void startup()
          This method is called on startup time by the runtime object.
 

Method Detail

getString

String getString(String namespace,
                 String parameter,
                 String identifier,
                 String language)
Gets a language dependend information for the given namespace, parameter and identifier.

Parameters:
namespace - the namespace
parameter - the parameter
identifier - the identifier
language - the language
Returns:
language dependend information

getIdentifiers

String[] getIdentifiers()
Get a list with all valid identifiers handled by this i18n manager.

Returns:
Array with all identifiers.

loadData

void loadData()
Loads the data of this i18n manager.


saveData

void saveData()
Saves the data of this i18n manager.


setString

void setString(String namespace,
               String parameter,
               String identifier,
               String language,
               String value)
Sets a language dependend information for the given namespace, parameter and identifier.

Parameters:
namespace - the namespace
parameter - the parameter
identifier - the identifier
language - the language
value - language dependend information

removeNamespace

void removeNamespace(String namespace)
Removes a namespace from the i18n manager.

Parameters:
namespace - the namespace to be removed.

startup

void startup()
This method is called on startup time by the runtime object.


shutdown

void shutdown()
This method is called on shutdown time by the runtime object.



Copyright © 2010 by Thilo Brandt. All Rights Reserved.