|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.gwt.data.Metadata
org.restlet.gwt.data.CharacterSet
public final class CharacterSet
Character set used to encode characters in textual representations.
| Field Summary | |
|---|---|
static CharacterSet |
ALL
All character sets acceptable. |
static CharacterSet |
ISO_8859_1
The ISO/IEC 8859-1 or Latin 1 character set. |
static CharacterSet |
US_ASCII
The US-ASCII character set. |
static CharacterSet |
UTF_16
The UTF-16 character set. |
static CharacterSet |
UTF_8
The UTF-8 character set. |
| Constructor Summary | |
|---|---|
CharacterSet(String name)
Constructor. |
|
CharacterSet(String name,
String description)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
int |
hashCode()
|
static CharacterSet |
valueOf(String name)
Returns the character set associated to a name. |
| Methods inherited from class org.restlet.gwt.data.Metadata |
|---|
getDescription, getName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final CharacterSet ALL
public static final CharacterSet ISO_8859_1
public static final CharacterSet US_ASCII
public static final CharacterSet UTF_8
public static final CharacterSet UTF_16
| Constructor Detail |
|---|
public CharacterSet(String name)
name - The name.
public CharacterSet(String name,
String description)
name - The name.description - The description.| Method Detail |
|---|
public static CharacterSet valueOf(String name)
name - The name.
public boolean equals(Object object)
equals in class Metadatapublic int hashCode()
hashCode in class Metadata
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||