public class CharScanner
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static int |
ALPHA_0 |
protected static int |
ALPHA_1 |
protected static int |
ALPHA_2 |
protected static int |
ALPHA_3 |
protected static int |
ALPHA_4 |
protected static int |
ALPHA_5 |
protected static int |
ALPHA_6 |
protected static int |
ALPHA_7 |
protected static int |
ALPHA_8 |
protected static int |
ALPHA_9 |
protected static int |
CLOSED_BRACKET |
protected static int |
CLOSED_CURLY |
protected static int |
COMMA |
protected static int |
DECIMAL_POINT |
protected static int |
DOUBLE_QUOTE |
protected static int |
ESCAPE |
protected static int |
LETTER_BIG_E |
protected static int |
LETTER_E |
protected static int |
MINUS |
protected static int |
PLUS |
Constructor and Description |
---|
CharScanner() |
Modifier and Type | Method and Description |
---|---|
static char[][] |
compact(char[][] array) |
static java.lang.String |
debugCharDescription(int c) |
static java.lang.String |
errorDetails(java.lang.String message,
char[] array,
int index,
int ch) |
static boolean |
hasDecimalChar(char[] chars,
boolean negative) |
static boolean |
isDecimalChar(int currentChar) |
static boolean |
isDecimalDigit(int c) |
protected static boolean |
isDelimiter(int c) |
static boolean |
isDigit(int c) |
static boolean |
isDigits(char[] inputArray) |
static boolean |
isInteger(char[] digitChars) |
static boolean |
isInteger(char[] digitChars,
int offset,
int len) |
static boolean |
isLong(char[] digitChars) |
static boolean |
isLong(char[] digitChars,
int offset,
int len) |
static boolean |
isNumberDigit(int c) |
static java.math.BigDecimal |
parseBigDecimal(char[] buffer) |
static java.math.BigDecimal |
parseBigDecimal(char[] buffer,
int from,
int to) |
static double |
parseDouble(char[] buffer) |
static double |
parseDouble(char[] buffer,
int from,
int to) |
static float |
parseFloat(char[] buffer,
int from,
int to) |
static int |
parseInt(char[] digitChars) |
static int |
parseIntFromTo(char[] digitChars,
int offset,
int to) |
static int |
parseIntFromToIgnoreDot(char[] digitChars,
int offset,
int to) |
static java.lang.Number |
parseJsonNumber(char[] buffer) |
static java.lang.Number |
parseJsonNumber(char[] buffer,
int from,
int to) |
static java.lang.Number |
parseJsonNumber(char[] buffer,
int from,
int max,
int[] size) |
static long |
parseLong(char[] digitChars) |
static long |
parseLongFromTo(char[] digitChars,
int offset,
int to) |
static long |
parseLongFromToIgnoreDot(char[] digitChars,
int offset,
int to) |
static char[] |
readNumber(char[] array,
int idx) |
static char[] |
readNumber(char[] array,
int idx,
int len) |
static int |
skipWhiteSpace(char[] array,
int index) |
static int |
skipWhiteSpace(char[] array,
int index,
int length) |
static int |
skipWhiteSpaceFast(char[] array) |
static int |
skipWhiteSpaceFast(char[] array,
int index) |
static char[][] |
split(char[] inputArray,
char split) |
static char[][] |
splitByChars(char[] inputArray,
char... delims) |
static char[][] |
splitByCharsFromToDelims(char[] inputArray,
int from,
int to,
char... delims) |
static char[][] |
splitByCharsNoneEmpty(char[] inputArray,
char... delims) |
static char[][] |
splitByCharsNoneEmpty(char[] inputArray,
int from,
int to,
char... delims) |
static char[][] |
splitExact(char[] inputArray,
char split,
int resultsArrayLength) |
static char[][] |
splitExact(char[] inputArray,
int resultsArrayLength,
char... delims) |
protected static final int COMMA
protected static final int CLOSED_CURLY
protected static final int CLOSED_BRACKET
protected static final int LETTER_E
protected static final int LETTER_BIG_E
protected static final int DECIMAL_POINT
protected static final int ALPHA_0
protected static final int ALPHA_1
protected static final int ALPHA_2
protected static final int ALPHA_3
protected static final int ALPHA_4
protected static final int ALPHA_5
protected static final int ALPHA_6
protected static final int ALPHA_7
protected static final int ALPHA_8
protected static final int ALPHA_9
protected static final int MINUS
protected static final int PLUS
protected static final int DOUBLE_QUOTE
protected static final int ESCAPE
public static boolean isDigit(int c)
public static boolean isDecimalDigit(int c)
public static boolean isDecimalChar(int currentChar)
public static boolean hasDecimalChar(char[] chars, boolean negative)
public static boolean isDigits(char[] inputArray)
public static char[][] splitExact(char[] inputArray, char split, int resultsArrayLength)
public static char[][] splitExact(char[] inputArray, int resultsArrayLength, char... delims)
public static char[][] split(char[] inputArray, char split)
public static char[][] splitByChars(char[] inputArray, char... delims)
public static char[][] splitByCharsFromToDelims(char[] inputArray, int from, int to, char... delims)
public static char[][] splitByCharsNoneEmpty(char[] inputArray, char... delims)
public static char[][] splitByCharsNoneEmpty(char[] inputArray, int from, int to, char... delims)
public static char[][] compact(char[][] array)
public static boolean isLong(char[] digitChars)
public static boolean isLong(char[] digitChars, int offset, int len)
public static boolean isInteger(char[] digitChars)
public static boolean isInteger(char[] digitChars, int offset, int len)
public static int parseInt(char[] digitChars)
public static int parseIntFromTo(char[] digitChars, int offset, int to)
public static int parseIntFromToIgnoreDot(char[] digitChars, int offset, int to)
public static long parseLongFromToIgnoreDot(char[] digitChars, int offset, int to)
public static long parseLongFromTo(char[] digitChars, int offset, int to)
public static long parseLong(char[] digitChars)
public static java.lang.Number parseJsonNumber(char[] buffer)
public static java.lang.Number parseJsonNumber(char[] buffer, int from, int to)
public static final boolean isNumberDigit(int c)
protected static boolean isDelimiter(int c)
public static java.lang.Number parseJsonNumber(char[] buffer, int from, int max, int[] size)
public static java.math.BigDecimal parseBigDecimal(char[] buffer)
public static java.math.BigDecimal parseBigDecimal(char[] buffer, int from, int to)
public static float parseFloat(char[] buffer, int from, int to)
public static double parseDouble(char[] buffer)
public static double parseDouble(char[] buffer, int from, int to)
public static int skipWhiteSpace(char[] array, int index)
public static int skipWhiteSpace(char[] array, int index, int length)
public static char[] readNumber(char[] array, int idx)
public static char[] readNumber(char[] array, int idx, int len)
public static int skipWhiteSpaceFast(char[] array)
public static int skipWhiteSpaceFast(char[] array, int index)
public static java.lang.String errorDetails(java.lang.String message, char[] array, int index, int ch)
public static java.lang.String debugCharDescription(int c)