public class OutputFormat
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
UTF16BE_BOM |
static OutputFormat |
UTF16BE_With_BOM |
static OutputFormat |
UTF16BE_WO_BOM |
static byte[] |
UTF16LE_BOM |
static OutputFormat |
UTF16LE_With_BOM |
static OutputFormat |
UTF16LE_WO_BOM |
static byte[] |
UTF8_BOM |
static OutputFormat |
UTF8_With_BOM |
static OutputFormat |
UTF8_WO_BOM |
| Constructor and Description |
|---|
OutputFormat(java.nio.charset.Charset outCharset,
byte[] bomPrefix) |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
asInputStream(java.lang.String content) |
java.nio.charset.Charset |
getOutCharset() |
byte[] |
getPrefix() |
public static final byte[] UTF8_BOM
public static final byte[] UTF16LE_BOM
public static final byte[] UTF16BE_BOM
public static final OutputFormat UTF8_With_BOM
public static final OutputFormat UTF8_WO_BOM
public static final OutputFormat UTF16LE_With_BOM
public static final OutputFormat UTF16LE_WO_BOM
public static final OutputFormat UTF16BE_With_BOM
public static final OutputFormat UTF16BE_WO_BOM