org.kde.koala
Class KSSLX509Map

java.lang.Object
  extended by org.kde.koala.KSSLX509Map
All Implemented Interfaces:
org.kde.qt.QtSupport

public class KSSLX509Map
extends java.lang.Object
implements org.kde.qt.QtSupport

X.509 Map Parsing Class This class is used to parse and store a map as used in X.509 certificates. It is of the form /name=value/name=value/name=value

Author:
George Staikos
See Also:
KSSL, KSSLCertificate

Constructor Summary
protected KSSLX509Map(java.lang.Class dummy)
           
  KSSLX509Map(java.lang.String name)
          Construct an X.509 Map
 
Method Summary
 void dispose()
          Delete the wrapped C++ instance ahead of finalize()
protected  void finalize()
          Deletes the wrapped C++ instance
 java.lang.String getValue(java.lang.String key)
          Get the value of an entry in the map
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
 void reset()
           
 void reset(java.lang.String name)
          Reset (clear) the internal storage.
 void setValue(java.lang.String key, java.lang.String value)
          Set a value in the map
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KSSLX509Map

protected KSSLX509Map(java.lang.Class dummy)

KSSLX509Map

public KSSLX509Map(java.lang.String name)
Construct an X.509 Map

Parameters:
name - the map to parse
Method Detail

setValue

public void setValue(java.lang.String key,
                     java.lang.String value)
Set a value in the map

Parameters:
key - the key
value - the value

getValue

public java.lang.String getValue(java.lang.String key)
Get the value of an entry in the map

Parameters:
key - the key
Returns:
the value

reset

public void reset(java.lang.String name)
Reset (clear) the internal storage.

Parameters:
name - if this is not empty, it will be parsed and used as the new map internally

reset

public void reset()

finalize

protected void finalize()
                 throws java.lang.InternalError
Deletes the wrapped C++ instance

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.InternalError

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()


isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?