idman.neg
Interface PersonalData

All Known Implementing Classes:
P3PData

public interface PersonalData

Interface to acces the personal data of the user.

Version:
$Id: PersonalData.java,v 1.4 2003/10/06 06:34:40 tk4 Exp $
Author:
Thomas Kriegelstein

Method Summary
 boolean containsKey(java.lang.String key)
          Returns whether data is available for the key.
 byte[] get(java.lang.String key)
          Returns the value of personal data denoted by key.
 java.lang.String[] keys()
          Returns all keys with available data values.
 void set(java.lang.String key, byte[] value)
          Sets the value of personal data denoted by key.
 

Method Detail

get

public byte[] get(java.lang.String key)
Returns the value of personal data denoted by key.

Parameters:
key - Name of data
Returns:
byte[] value of data

set

public void set(java.lang.String key,
                byte[] value)
Sets the value of personal data denoted by key.

Parameters:
key - Name of data
value - Value of data

keys

public java.lang.String[] keys()
Returns all keys with available data values.

Returns:
String[] with keys

containsKey

public boolean containsKey(java.lang.String key)
Returns whether data is available for the key.

Parameters:
key - Name of data
Returns:
boolean true, if data is available; false otherwise


Copyright © 2003 DRIM Team. All Rights Reserved.