FileDocCategorySizeDatePackage
ProviderStringifier.javaAPI DocGlassfish v2 API2844Fri May 04 22:31:08 BST 2007com.sun.appserv.management.util.stringifier

ProviderStringifier

public final class ProviderStringifier extends Object implements Stringifier
Stringifies a java.security.Provider.

Fields Summary
public static final ProviderStringifier
DEFAULT
Constructors Summary
public ProviderStringifier()

	
		
	
	
	
Methods Summary
public java.lang.Stringstringify(java.lang.Object object)

		final Provider	provider	= (Provider)object;
		
		final StringBuffer	buf	= new StringBuffer();

		buf.append( provider.getInfo() );
		
		java.util.Iterator	iter	= provider.entrySet().iterator();
		while ( iter.hasNext() )
		{
			buf.append( iter.next().toString() + "\n" );
		}

		return( buf.toString() );