NetworkGraphBuilder Interface Reference

Gives GraphBuilder a few extra methods that would be needed for network communications. More...

Inheritance diagram for NetworkGraphBuilder:

GraphBuilder

List of all members.

Public Member Functions

String getProperty (String key) throws Exception
 Retrieves the string value of a given key.
int getPropertyAsInt (String key) throws Exception
 Retrieves the integer value of a given key.
int getPropertyAsIntWithDefault (String key, int value) throws Exception
 Retrieves the integer of a given key but will return a default integer if that key doesn't exist.
String getPropertyWithDefault (String key, String value) throws Exception
 Retrieves the value of a given key but will return a default if that key doesn't exist.


Detailed Description

Gives GraphBuilder a few extra methods that would be needed for network communications.

Member Function Documentation

String getProperty ( String  key  )  throws Exception

Retrieves the string value of a given key.

Parameters:
key The key to get the string value of.
Returns:
The string value of the given key.
Exceptions:
Exception If an underlying method throws an exception, it will be wrapped and thrown as a Exception.

int getPropertyAsInt ( String  key  )  throws Exception

Retrieves the integer value of a given key.

Parameters:
key The key to get the integer value of.
Returns:
The integer value of the given key.
Exceptions:
Exception If an underlying method throws an exception, it will be wrapped and thrown as a Exception.

int getPropertyAsIntWithDefault ( String  key,
int  value 
) throws Exception

Retrieves the integer of a given key but will return a default integer if that key doesn't exist.

Parameters:
key The key to get the integer value of
value The default integer value to return if the key doesn't exist
Returns:
The integer value of the given key or the default integer value if the key doesn't exist
Exceptions:
Exception If an underlying method throws an exception, it will be wrapped and thrown as a Exception.

String getPropertyWithDefault ( String  key,
String  value 
) throws Exception

Retrieves the value of a given key but will return a default if that key doesn't exist.

Parameters:
key The key to get the value of
value The default value to return if the key doesn't exist
Returns:
The string value of the given key or the default value if the key doesn't exist
Exceptions:
Exception If an underlying method throws an exception, it will be wrapped and thrown as a Exception.


The documentation for this interface was generated from the following file:
Generated on Mon Aug 27 12:26:44 2007 for RebeccaAIML by  doxygen 1.5.3