All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.w3c.epubcheck.util.infra.InfraUtil Maven / Gradle / Ivy

Go to download

EPUBCheck is a tool to validate the conformance of EPUB publications against the EPUB specifications. EPUBCheck can be run as a standalone command-line tool or used as a Java library.

The newest version!
package org.w3c.epubcheck.util.infra;

public final class InfraUtil
{

  private InfraUtil()
  {
    // static utility class
  }

  /**
   * if a character is https://infra.spec.whatwg.org/#ascii-whitespace U+0009
   * TAB, U+000A LF, U+000C FF, U+000D CR, or U+0020 SPACE.
   */
  public static boolean isASCIIWhitespace(char c)
  {
    return c == ' ' || c == '\t' || c == '\f' || c == '\n' || c == '\r';
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy