Companion public val annotated with @JvmFIeld or const

This commit is contained in:
Michael Bogdanov
2015-12-25 18:08:06 +03:00
parent e116cc3206
commit e671d05105
28 changed files with 112 additions and 25 deletions
@@ -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")
}