de.janrufmonitor.framework.manager
Interface ICipManager

All Superinterfaces:
IManager

public interface ICipManager
extends IManager

This interface must be implemented by a CipManager object, which should be used in the framework. A CipManager must handle CIP information for calls.

Author:
Thilo Brandt

Method Summary
 ICip createCip(String cip)
          Creates a new Cip object for the given Cip String.
 String getCipLabel(ICip cip, String language)
          Gets the CIP label for the given Cip object in a specific language.
 String getCipLabel(String cip, String language)
          Gets the CIP label for the given Cip String in a specific language.
 String[] getCipList()
          Gets a list with all Cip Strings supported by the Cip manager.
 
Methods inherited from interface de.janrufmonitor.framework.manager.IManager
getManagerID, getPriority, restart, setManagerID, shutdown, startup
 

Method Detail

getCipLabel

String getCipLabel(ICip cip,
                   String language)
Gets the CIP label for the given Cip object in a specific language.

Parameters:
cip - the Cip object to label
language - the requested language
Returns:
a language dependend String

getCipLabel

String getCipLabel(String cip,
                   String language)
Gets the CIP label for the given Cip String in a specific language.

Parameters:
cip - the Cip String to label
language - the requested language
Returns:
a language dependend String

createCip

ICip createCip(String cip)
Creates a new Cip object for the given Cip String.

Parameters:
cip - the Cip string to create
Returns:
an ICip object for the given Cip String

getCipList

String[] getCipList()
Gets a list with all Cip Strings supported by the Cip manager.

Returns:
Array of Cip Strings


Copyright © 2010 by Thilo Brandt. All Rights Reserved.