Package de.galan.commons.util
Class BOM
java.lang.Object
de.galan.commons.util.BOM
Adding and remove BOM (byteordermark) UTF-8 headers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic StringgetBOM()static booleanisUTF8(byte[] bytes) static OutputStreamwriteBom(OutputStream out)
-
Constructor Details
-
BOM
public BOM()
-
-
Method Details
-
getBOM
-
writeBom
- Throws:
IOException
-
clean
-
isUTF8
public static boolean isUTF8(byte[] bytes)
-