public final class CharUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte |
ASCII_BACKSPACE |
static byte |
ASCII_CARRIAGE_RETURN |
static byte |
ASCII_FORM_FEED |
static byte |
ASCII_HORIZONTAL_TAB |
static byte |
ASCII_LINE_FEED |
static byte |
ASCII_NULL |
static byte |
ASCII_SPACE |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isBlank(CharSequence cs) |
static boolean |
isCarriageReturn(int c) |
static boolean |
isDigit(int c) |
static boolean |
isEndOfName(int ch) |
static boolean |
isEOF(int c) |
static boolean |
isEOL(int c) |
static boolean |
isHexDigit(int c) |
static boolean |
isLetter(int c) |
static boolean |
isLineFeed(int c) |
static boolean |
isNul(int c) |
static boolean |
isOctalDigit(int c) |
static boolean |
isSpace(int c) |
static boolean |
isWhitespace(int c)
This will tell if a character is whitespace or not.
|
public static final byte ASCII_LINE_FEED
public static final byte ASCII_FORM_FEED
public static final byte ASCII_CARRIAGE_RETURN
public static final byte ASCII_BACKSPACE
public static final byte ASCII_HORIZONTAL_TAB
public static final byte ASCII_NULL
public static final byte ASCII_SPACE
public static boolean isEndOfName(int ch)
ch - The charactertrue if the character terminates a PDF name, otherwise false.public static boolean isEOF(int c)
c - public static boolean isEOL(int c)
c - The character to check against end of linepublic static boolean isLineFeed(int c)
public static boolean isCarriageReturn(int c)
public static boolean isWhitespace(int c)
c - The character to check against whitespacepublic static boolean isNul(int c)
public static boolean isSpace(int c)
c - The character to check against spacepublic static boolean isDigit(int c)
c - The character to be checkedpublic static boolean isLetter(int c)
c - The character to be checkedpublic static boolean isOctalDigit(int c)
c - The character to be checkedpublic static boolean isHexDigit(int c)
c - The character to be checkedpublic static boolean isBlank(CharSequence cs)
Copyright © 2019 sejda. All rights reserved.