| java.lang.Object com.sun.addressbook.ABSession
ABSession | final public class ABSession (Code) | | Address Book Session class: A container object representing a address
book session, which stores properties used by the JABAPI. This class is
not subclassed.
|
getInstance | public static ABSession getInstance(Properties props) throws MissingPropertiesException(Code) | | Creates and returns a new ABSession. Certain properties are required
and an exception will be thrown when they have not been specified.
Parameters: props - System Properties encapsulating the servicespecific information required to connect to it. |
getProperties | public Properties getProperties()(Code) | | Returns all the properties for this session.
|
getProperty | public String getProperty(String id)(Code) | | Get a property value.
Parameters: id - Property key. |
removeProperty | public void removeProperty(String id)(Code) | | Remove a property value.
Parameters: id - Property key. |
setProperty | public void setProperty(String id, String value)(Code) | | Set a property to the given value.
Parameters: id - Property key. Parameters: value - Property value. |
|
|