public interface ByteProcessor
Modifier and Type | Interface and Description |
---|---|
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. |
Modifier and Type | Field and Description |
---|---|
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
CR (';') . |
Modifier and Type | Method and Description |
---|---|
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
CR (';')
.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'
).Copyright © 2008–2017 The Netty Project. All rights reserved.