FileDocCategorySizeDatePackage
MBeanConstructorInfoStringifier.javaAPI DocGlassfish v2 API3084Fri May 04 22:25:02 BST 2007com.sun.cli.util.stringifier

MBeanConstructorInfoStringifier

public class MBeanConstructorInfoStringifier extends MBeanFeatureInfoStringifier implements Stringifier

Fields Summary
public static MBeanConstructorInfoStringifier
DEFAULT
Constructors Summary
public MBeanConstructorInfoStringifier()



		
	  
	
		super( );
	
public MBeanConstructorInfoStringifier(MBeanFeatureInfoStringifierOptions options)

		super( options );
	
Methods Summary
public java.lang.Stringstringify(java.lang.Object o)

		final MBeanConstructorInfo	constructor	= (MBeanConstructorInfo)o;
		
		final String	name	= constructor.getName();
		final int		lastDot	= 	name.lastIndexOf( "." );
		final String	abbreviatedName	= name.substring( lastDot + 1, name.length() );
		
		final String params	= "(" +
			ParamsToString( constructor.getSignature(), mOptions ) + ")";
		
		return( abbreviatedName + params );