Class CharsetUtil

java.lang.Object
org.apache.tomcat.util.buf.CharsetUtil

public class CharsetUtil extends Object
Utility methods for charset operations.
  • Method Details

    • isAsciiSuperset

      public static boolean isAsciiSuperset(Charset charset)
      Checks if the given charset is a superset of ASCII.
      Parameters:
      charset - the charset to check
      Returns:
      true if the charset is an ASCII superset