Class OpenUtil

java.lang.Object
com.openhtmltopdf.util.OpenUtil

public class OpenUtil
extends Object
  • Method Details

    • 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
    • parseIntegerOrNull

      public static Integer parseIntegerOrNull​(String possibleInteger)