FileDocCategorySizeDatePackage
DottedNameStrings.javaAPI DocGlassfish v2 API5771Fri May 04 22:24:08 BST 2007com.sun.enterprise.admin.dottedname

DottedNameStrings

public class DottedNameStrings extends Object

Fields Summary
private static final ResourceStringSource
mImpl
private static final String
PACKAGE_NAME
private static final String
STRINGS_FILENAME
public static final String
OBJECT_INSTANCE_NOT_FOUND_KEY
public static final String
MALFORMED_DOTTED_NAME_KEY
public static final String
WILDCARD_DISALLOWED_FOR_SET_KEY
public static final String
ATTRIBUTE_NOT_FOUND_KEY
public static final String
ILLEGAL_TO_SET_NULL_KEY
public static final String
ILLEGAL_CHARACTER_KEY
public static final String
MISSING_EXPECTED_NAME_PART_KEY
public static final String
DOTTED_NAME_MUST_HAVE_ONE_PART_KEY
public static final String
NO_VALUE_NAME_SPECIFIED_KEY
Constructors Summary
private DottedNameStrings()

Methods Summary
public static java.lang.StringgetString(java.lang.String key)

		if ( mImpl == null )
		{
			return( key );
		}

		return( mImpl.getString( key ) );
	
public static java.lang.StringgetString(java.lang.String key, java.lang.Object toInsert)

		return( getString( key, new Object [] { toInsert } ) );
	
public static java.lang.StringgetString(java.lang.String key, java.lang.Object toInsert1, java.lang.Object toInsert2)

		return( getString( key, new Object [] { toInsert1, toInsert2 } ) );
	
public static java.lang.StringgetString(java.lang.String key, java.lang.Object[] toInsert)

		if ( mImpl == null )
		{
			return( key );
		}
		
		return( mImpl.getString( key, toInsert) );
	
private static com.sun.enterprise.admin.dottedname.ResourceStringSourceinitImpl()

	// .properties
	
		  
	
	
		ResourceStringSource	src	= null;
		
		try
		{
			src	= new ResourceStringSource( PACKAGE_NAME, STRINGS_FILENAME );
		}
		catch( MissingResourceException e)
		{
			DottedNameLogger.logException( e );
		}
		
		return( src );