public interface ByteBufProcessor
限定符和类型 | 字段和说明 |
---|---|
static ByteBufProcessor |
FIND_CR
Aborts on a
CR ('\r') . |
static ByteBufProcessor |
FIND_CRLF
Aborts on a
CR ('\r') or a LF ('\n') . |
static ByteBufProcessor |
FIND_LF
Aborts on a
LF ('\n') . |
static ByteBufProcessor |
FIND_LINEAR_WHITESPACE
Aborts on a linear whitespace (a (
' ' or a '\t' ). |
static ByteBufProcessor |
FIND_NON_CR
Aborts on a non-
CR ('\r') . |
static ByteBufProcessor |
FIND_NON_CRLF
Aborts on a byte which is neither a
CR ('\r') nor a LF ('\n') . |
static ByteBufProcessor |
FIND_NON_LF
Aborts on a non-
LF ('\n') . |
static ByteBufProcessor |
FIND_NON_LINEAR_WHITESPACE
Aborts on a byte which is not a linear whitespace (neither
' ' nor '\t' ). |
static ByteBufProcessor |
FIND_NON_NUL
Aborts on a non-
NUL (0x00) . |
static ByteBufProcessor |
FIND_NUL
Aborts on a
NUL (0x00) . |
限定符和类型 | 方法和说明 |
---|---|
boolean |
process(byte value) |
static final ByteBufProcessor FIND_NUL
NUL (0x00)
.static final ByteBufProcessor FIND_NON_NUL
NUL (0x00)
.static final ByteBufProcessor FIND_CR
CR ('\r')
.static final ByteBufProcessor FIND_NON_CR
CR ('\r')
.static final ByteBufProcessor FIND_LF
LF ('\n')
.static final ByteBufProcessor FIND_NON_LF
LF ('\n')
.static final ByteBufProcessor FIND_CRLF
CR ('\r')
or a LF ('\n')
.static final ByteBufProcessor FIND_NON_CRLF
CR ('\r')
nor a LF ('\n')
.static final ByteBufProcessor FIND_LINEAR_WHITESPACE
' '
or a '\t'
).static final ByteBufProcessor FIND_NON_LINEAR_WHITESPACE
' '
nor '\t'
).