idman.mngt.impl
Class P3PData

java.lang.Object
  |
  +--idman.mngt.impl.P3PData
All Implemented Interfaces:
PersonalData

public class P3PData
extends java.lang.Object
implements PersonalData

ReadOnly-Implementation des PersonalData.

Version:
$Id: P3PData.java,v 1.10 2003/12/08 13:22:54 tk4 Exp $
Author:
Thomas Kriegelstein

Field Summary
static boolean debug
          Debugflag.
(package private)  java.util.Properties settings
          Database settings
 
Constructor Summary
P3PData(java.util.Properties settings)
          Creates a new instance of P3PData
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

public static boolean debug
Debugflag.


settings

java.util.Properties settings
Database settings

Constructor Detail

P3PData

public P3PData(java.util.Properties settings)
Creates a new instance of P3PData

Method Detail

get

public byte[] get(java.lang.String key)
Description copied from interface: PersonalData
Returns the value of personal data denoted by key.

Specified by:
get in interface PersonalData
Parameters:
key - Name of data
Returns:
byte[] value of data

set

public void set(java.lang.String key,
                byte[] value)
Description copied from interface: PersonalData
Sets the value of personal data denoted by key.

Specified by:
set in interface PersonalData
Parameters:
key - Name of data
value - Value of data

keys

public java.lang.String[] keys()
Description copied from interface: PersonalData
Returns all keys with available data values.

Specified by:
keys in interface PersonalData
Returns:
String[] with keys

containsKey

public boolean containsKey(java.lang.String key)
Description copied from interface: PersonalData
Returns whether data is available for the key.

Specified by:
containsKey in interface PersonalData
Parameters:
key - Name of data
Returns:
boolean true, if data is available; false otherwise


Copyright © 2003 DRIM Team. All Rights Reserved.