Companion public val annotated with @JvmFIeld or const
This commit is contained in:
@@ -11,38 +11,38 @@ public object Charsets {
|
||||
/**
|
||||
* Eight-bit UCS Transformation Format.
|
||||
*/
|
||||
@JvmStatic
|
||||
@JvmField
|
||||
public val UTF_8: Charset = Charset.forName("UTF-8")
|
||||
|
||||
/**
|
||||
* Sixteen-bit UCS Transformation Format, byte order identified by an
|
||||
* optional byte-order mark.
|
||||
*/
|
||||
@JvmStatic
|
||||
@JvmField
|
||||
public val UTF_16: Charset = Charset.forName("UTF-16")
|
||||
|
||||
/**
|
||||
* Sixteen-bit UCS Transformation Format, big-endian byte order.
|
||||
*/
|
||||
@JvmStatic
|
||||
@JvmField
|
||||
public val UTF_16BE: Charset = Charset.forName("UTF-16BE")
|
||||
|
||||
/**
|
||||
* Sixteen-bit UCS Transformation Format, little-endian byte order.
|
||||
*/
|
||||
@JvmStatic
|
||||
@JvmField
|
||||
public val UTF_16LE: Charset = Charset.forName("UTF-16LE")
|
||||
|
||||
/**
|
||||
* Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the
|
||||
* Unicode character set.
|
||||
*/
|
||||
@JvmStatic
|
||||
@JvmField
|
||||
public val US_ASCII: Charset = Charset.forName("US-ASCII")
|
||||
|
||||
/**
|
||||
* ISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1.
|
||||
*/
|
||||
@JvmStatic
|
||||
@JvmField
|
||||
public val ISO_8859_1: Charset = Charset.forName("ISO-8859-1")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user