Class ByteProcessor.IndexNotOfProcessor
java.lang.Object
io.netty.util.ByteProcessor.IndexNotOfProcessor
- All Implemented Interfaces:
ByteProcessor
- Enclosing interface:
ByteProcessor
A
ByteProcessor which finds the first appearance which is not of a specific byte.-
Nested Class Summary
Nested classes/interfaces inherited from interface ByteProcessor
ByteProcessor.IndexNotOfProcessor, ByteProcessor.IndexOfProcessorModifier and TypeInterfaceDescriptionstatic classAByteProcessorwhich finds the first appearance which is not of a specific byte.static classAByteProcessorwhich finds the first appearance of a specific byte. -
Field Summary
Fields inherited from interface ByteProcessor
FIND_ASCII_SPACE, FIND_COMMA, FIND_CR, FIND_CRLF, FIND_LF, FIND_LINEAR_WHITESPACE, FIND_NON_CR, FIND_NON_CRLF, FIND_NON_LF, FIND_NON_LINEAR_WHITESPACE, FIND_NON_NUL, FIND_NUL, FIND_SEMI_COLONModifier and TypeFieldDescriptionstatic final ByteProcessorAborts on a ascii space character (' ').static final ByteProcessorAborts on a comma(',').static final ByteProcessorAborts on aCR ('\r').static final ByteProcessorAborts on aCR ('\r')or aLF ('\n').static final ByteProcessorAborts on aLF ('\n').static final ByteProcessorAborts on a linear whitespace (a (' 'or a'\t').static final ByteProcessorAborts on a non-CR ('\r').static final ByteProcessorAborts on a byte which is neither aCR ('\r')nor aLF ('\n').static final ByteProcessorAborts on a non-LF ('\n').static final ByteProcessorAborts on a byte which is not a linear whitespace (neither' 'nor'\t').static final ByteProcessorAborts on a non-NUL (0x00).static final ByteProcessorAborts on aNUL (0x00).static final ByteProcessorAborts on a semicolon(';'). -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IndexNotOfProcessor
public IndexNotOfProcessor(byte byteToNotFind)
-
-
Method Details
-
process
public boolean process(byte value) - Specified by:
processin interfaceByteProcessor- Returns:
trueif the processor wants to continue the loop and handle the next byte in the buffer.falseif the processor wants to stop handling bytes and abort the loop.
-