Java EE 5 SDK

com.sun.appserv.management.util.stringifier
Class X509CertificateStringifier

java.lang.Object
  extended by com.sun.appserv.management.util.stringifier.X509CertificateStringifier
All Implemented Interfaces:
Stringifier

public final class X509CertificateStringifier
extends Object
implements Stringifier

Stringifies an X509CertificateStringifier.


Field Summary
static X509CertificateStringifier DEFAULT
           
 
Constructor Summary
X509CertificateStringifier()
           
 
Method Summary
 String stringify(Object object)
          Produce a String representation of an object.
static String stringify(X509Certificate cert)
          Static variant when direct call will suffice.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final X509CertificateStringifier DEFAULT
Constructor Detail

X509CertificateStringifier

public X509CertificateStringifier()
Method Detail

stringify

public static String stringify(X509Certificate cert)
Static variant when direct call will suffice.


stringify

public String stringify(Object object)
Description copied from interface: Stringifier
Produce a String representation of an object. The actual output has no other semantics; each Stringifier may choose to target a particular type of user.

The resulting String should be suitable for display to a user.

Specified by:
stringify in interface Stringifier
Parameters:
object - the Object for which a String should be produced

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.