Package migratedb.v1.core.internal.util
Class BomFilter
java.lang.Object
migratedb.v1.core.internal.util.BomFilter
-
Constructor Details
-
BomFilter
public BomFilter()
-
-
Method Details
-
isBom
public static boolean isBom(char c) Determine if this char is a UTF-8 Byte Order Mark- Parameters:
c- The char to check- Returns:
- Whether this char is a UTF-8 Byte Order Mark
-
filterBomFromString
Removes the UTF-8 Byte Order Mark from the start of a string if present.- Parameters:
s- The string- Returns:
- The string without a Byte Order Mark at the start
-