Package com.openhtmltopdf.util
Class OpenUtil
- java.lang.Object
-
- com.openhtmltopdf.util.OpenUtil
-
public class OpenUtil extends Object
-
-
Method Summary
Modifier and Type Method Description static booleanisCodePointPrintable(int codePoint)Checks if a code point is printable.static IntegerparseIntegerOrNull(String possibleInteger)
-
-
-
Method Detail
-
isCodePointPrintable
public static boolean isCodePointPrintable(int codePoint)
Checks if a code point is printable. If false, it can be safely discarded at the rendering stage, else it should be replaced with the replacement character, if a suitable glyph can not be found.- Parameters:
codePoint-- Returns:
- whether codePoint is printable
-
-