|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sssw.srv.mail.AgoCharSetIdentifier
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 |
public AgoCharSetIdentifier(String identifier)
identifier
- specifies the identifier of the constructed AgoCharSetIdentifier object.
See AgoMIME
for a list of identifier constants for the supported character sets.
AgoCharSetIdentifier charSet = new AgoCharSetIdentifier("iso-8859-1");
Method Detail |
public String getIdentifier()
See AgoMIME
for a list of valid character set constants.
String id = charSet.getIdentifier();
AgoCharSetIdentifier.setIdentifier( String identifier )
public void setIdentifier(String identifier)
identifier
- specifies the desired identifier.AgoMIME
for a list of valid character set constants.charSet.setIdentifier(AgoMIME.CHARSET_ISO_8859_1);
AgoCharSetIdentifier.getIdentifier()
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |