public class BOMCharsetMap extends LinkedHashMap<byte[],Charset>
Charset Map implementation.
| Key | Value |
|---|---|
| [0x00, 0x00, 0xFE, 0xFF] | UTF-32BE |
| [0xFF, 0xFE, 0x00, 0x00] | UTF-32LE |
| [0xEF, 0xBB, 0xBF] | UTF-8 |
| [0xFE, 0xFF] | UTF-16BE |
| [0xFF, 0xFE] | UTF-16LE |
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static Map<byte[],Charset> |
INSTANCE
Unmodifiable instance of
BOMCharsetMap. |
| Modifier | Constructor and Description |
|---|---|
protected |
BOMCharsetMap()
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCodefinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic static final Map<byte[],Charset> INSTANCE
BOMCharsetMap.protected BOMCharsetMap()
public String toString()
toString in class AbstractMap<byte[],Charset>Copyright © 2015–2020 Allen D. Ball. All rights reserved.