SilverStream
Application Server 3.5

com.sssw.srv.mail
Class AgoCharSetIdentifier

java.lang.Object
 |
 +--com.sssw.srv.mail.AgoCharSetIdentifier

public class AgoCharSetIdentifier
extends Object

Helper class for specifying a character set identifier. The object is usually passed to a method as an argument to specify the character set of a MIME part (e.g. AgoMIME.CHARSET_ISO_8859_1. See AgoMIME for a list of the valid character set symbolic constants.


Constructor Summary
AgoCharSetIdentifier(String identifier)
          Constructor for the AgoCharSetIdentifier class.
 
Method Summary
 String getIdentifier()
          For the AgoCharacterSetIdentifier class, returns the identifier for the character set.
 void setIdentifier(String identifier)
          For the AgoCharacterSetIdentifier class: The setIdentifier() method sets the character set identifier, replacing any old value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgoCharSetIdentifier

public AgoCharSetIdentifier(String identifier)
Constructor for the AgoCharSetIdentifier class.
Parameters:
identifier - specifies the identifier of the constructed AgoCharSetIdentifier object.
Usage:

See AgoMIME for a list of identifier constants for the supported character sets.

Example:
 AgoCharSetIdentifier charSet = new AgoCharSetIdentifier("iso-8859-1");
 
Method Detail

getIdentifier

public String getIdentifier()
For the AgoCharacterSetIdentifier class, returns the identifier for the character set.
Usage:

See AgoMIME for a list of valid character set constants.

Example:
     String id = charSet.getIdentifier();
 
See Also:
AgoCharSetIdentifier.setIdentifier( String identifier )

setIdentifier

public void setIdentifier(String identifier)
For the AgoCharacterSetIdentifier class: The setIdentifier() method sets the character set identifier, replacing any old value.
Parameters:
identifier - specifies the desired identifier.
Usage:
See AgoMIME for a list of valid character set constants.
Example:
     charSet.setIdentifier(AgoMIME.CHARSET_ISO_8859_1);
 
See Also:
AgoCharSetIdentifier.getIdentifier()

SilverStream
Application Server 3.5