com.karmasphere.share.persist.idtype
Class OpaqueIdentityType

java.lang.Object
  extended by com.karmasphere.share.persist.IdentityType
      extended by com.karmasphere.share.persist.idtype.OpaqueIdentityType
All Implemented Interfaces:
Comparable

public class OpaqueIdentityType
extends IdentityType


Nested Class Summary
 
Nested classes/interfaces inherited from class com.karmasphere.share.persist.IdentityType
IdentityType.Discriminated
 
Field Summary
static String KEYNAME
           
 
Fields inherited from class com.karmasphere.share.persist.IdentityType
CHARSET, DOMAIN, EMAIL, IP4, IP6, MAX_TYPES, OPAQUE, URL
 
Constructor Summary
OpaqueIdentityType()
           
 
Method Summary
 byte[] fromString(String str)
          Converts a "common" human-readable version the identity data to a byte array.
 String toString(byte[] data)
          Returns a human-readable version of the byte array associated with this identity type.
 
Methods inherited from class com.karmasphere.share.persist.IdentityType
compareTo, equals, filter, get, get, getCondition, getDescription, getId, getKeyname, getName, getTypes, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

KEYNAME

public static final String KEYNAME
See Also:
Constant Field Values
Constructor Detail

OpaqueIdentityType

public OpaqueIdentityType()
Method Detail

fromString

public byte[] fromString(String str)
                  throws IdentityFormatException
Description copied from class: IdentityType
Converts a "common" human-readable version the identity data to a byte array.

Overrides:
fromString in class IdentityType
Throws:
IdentityFormatException

toString

public String toString(byte[] data)
Description copied from class: IdentityType
Returns a human-readable version of the byte array associated with this identity type.

Overrides:
toString in class IdentityType


Copyright © 2004-2005 Karamsphere. All Rights Reserved.