Package ball.io
Class BOMCharsetMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<byte[],Charset>
-
- ball.io.BOMCharsetMap
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<byte[],Charset>
public class BOMCharsetMap extends LinkedHashMap<byte[],Charset>
Byte order mark toCharset
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 - Author:
- Allen D. Ball
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Map<byte[],Charset>
INSTANCE
Unmodifiable instance ofBOMCharsetMap
.
-
Constructor Summary
Constructors Modifier Constructor Description protected
BOMCharsetMap()
Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Methods inherited from class java.util.AbstractMap
equals, hashCode
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Field Detail
-
INSTANCE
public static final Map<byte[],Charset> INSTANCE
Unmodifiable instance ofBOMCharsetMap
.
-
-
Constructor Detail
-
BOMCharsetMap
protected BOMCharsetMap()
Sole constructor.
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classAbstractMap<byte[],Charset>
-
-