Package de.galan.commons.util
Class BOM
- java.lang.Object
-
- de.galan.commons.util.BOM
-
public class BOM extends Object
Adding and remove BOM (byteordermark) UTF-8 headers.
-
-
Constructor Summary
Constructors Constructor Description BOM()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringclean(String input)static StringgetBOM()static booleanisUTF8(byte[] bytes)static OutputStreamwriteBom(OutputStream out)
-
-
-
Method Detail
-
getBOM
public static String getBOM()
-
writeBom
public static OutputStream writeBom(OutputStream out) throws IOException
- Throws:
IOException
-
isUTF8
public static boolean isUTF8(byte[] bytes)
-
-