public interface ByteProcessor
限定符和类型 | 接口和说明 |
---|---|
static class |
ByteProcessor.IndexNotOfProcessor
A
ByteProcessor which finds the first appearance which is not of a specific byte. |
static class |
ByteProcessor.IndexOfProcessor
A
ByteProcessor which finds the first appearance of a specific byte. |
限定符和类型 | 字段和说明 |
---|---|
static ByteProcessor |
FIND_ASCII_SPACE
Aborts on a ascii space character (
' ' ). |
static ByteProcessor |
FIND_COMMA
Aborts on a comma
(',') . |
static ByteProcessor |
FIND_CR
Aborts on a
CR ('\r') . |
static ByteProcessor |
FIND_CRLF
Aborts on a
CR ('\r') or a LF ('\n') . |
static ByteProcessor |
FIND_LF
Aborts on a
LF ('\n') . |
static ByteProcessor |
FIND_LINEAR_WHITESPACE
Aborts on a linear whitespace (a (
' ' or a '\t' ). |
static ByteProcessor |
FIND_NON_CR
Aborts on a non-
CR ('\r') . |
static ByteProcessor |
FIND_NON_CRLF
Aborts on a byte which is neither a
CR ('\r') nor a LF ('\n') . |
static ByteProcessor |
FIND_NON_LF
Aborts on a non-
LF ('\n') . |
static ByteProcessor |
FIND_NON_LINEAR_WHITESPACE
Aborts on a byte which is not a linear whitespace (neither
' ' nor '\t' ). |
static ByteProcessor |
FIND_NON_NUL
Aborts on a non-
NUL (0x00) . |
static ByteProcessor |
FIND_NUL
Aborts on a
NUL (0x00) . |
static ByteProcessor |
FIND_SEMI_COLON
Aborts on a semicolon
(';') . |
限定符和类型 | 方法和说明 |
---|---|
boolean |
process(byte value) |
static final ByteProcessor FIND_NUL
NUL (0x00)
.static final ByteProcessor FIND_NON_NUL
NUL (0x00)
.static final ByteProcessor FIND_CR
CR ('\r')
.static final ByteProcessor FIND_NON_CR
CR ('\r')
.static final ByteProcessor FIND_LF
LF ('\n')
.static final ByteProcessor FIND_NON_LF
LF ('\n')
.static final ByteProcessor FIND_SEMI_COLON
(';')
.static final ByteProcessor FIND_COMMA
(',')
.static final ByteProcessor FIND_ASCII_SPACE
' '
).static final ByteProcessor FIND_CRLF
CR ('\r')
or a LF ('\n')
.static final ByteProcessor FIND_NON_CRLF
CR ('\r')
nor a LF ('\n')
.static final ByteProcessor FIND_LINEAR_WHITESPACE
' '
or a '\t'
).static final ByteProcessor FIND_NON_LINEAR_WHITESPACE
' '
nor '\t'
).