FileDocCategorySizeDatePackage
LocaleEncodingMappingDescriptor.javaAPI DocGlassfish v2 API3128Fri May 04 22:31:22 BST 2007com.sun.enterprise.deployment

LocaleEncodingMappingDescriptor

public class LocaleEncodingMappingDescriptor extends Descriptor

Fields Summary
private String
locale
private String
encoding
Constructors Summary
public LocaleEncodingMappingDescriptor()

     
    /*
     * standard constructor 
     */
      
    
public LocaleEncodingMappingDescriptor(LocaleEncodingMappingDescriptor other)

	super(other);
	locale = other.locale;
	encoding = other.encoding;
    
Methods Summary
public java.lang.StringgetEncoding()

return
the encoding

        return encoding;        
    
public java.lang.StringgetLocale()

return
the locale

        return locale;        
    
public voidprint(java.lang.StringBuffer toStringBuffer)

return
a string describing the values I hold

        toStringBuffer.append("\nProp : ").append(getLocale()).append("->").append(locale);
    
public voidsetEncoding(java.lang.String value)
set the encoding

        encoding = value;
    
public voidsetLocale(java.lang.String value)
set the locale

        locale = value;