Most visited

Recently visited

Added in API level 1

Xml.Encoding

public static final enum Xml.Encoding
extends Enum<Xml.Encoding>

java.lang.Object
   ↳ java.lang.Enum<android.util.Xml.Encoding>
     ↳ android.util.Xml.Encoding


支持的字符编码。

Summary

Enum values

Xml.Encoding  ISO_8859_1

 

Xml.Encoding  US_ASCII

 

Xml.Encoding  UTF_16

 

Xml.Encoding  UTF_8

 

Public methods

static Xml.Encoding valueOf(String name)
static final Encoding[] values()

Inherited methods

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

ISO_8859_1

Added in API level 1
Xml.Encoding ISO_8859_1

US_ASCII

Added in API level 1
Xml.Encoding US_ASCII

UTF_16

Added in API level 1
Xml.Encoding UTF_16

UTF_8

Added in API level 1
Xml.Encoding UTF_8

Public methods

valueOf

Added in API level 1
Xml.Encoding valueOf (String name)

Parameters
name String
Returns
Xml.Encoding

values

Added in API level 1
Encoding[] values ()

Returns
Encoding[]

Hooray!