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, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public 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.