Interface ByteProcessor

    • Field Detail

      • FIND_NUL

        static final ByteProcessor FIND_NUL
        Aborts on a NUL (0x00).
      • FIND_NON_NUL

        static final ByteProcessor FIND_NON_NUL
        Aborts on a non-NUL (0x00).
      • FIND_CR

        static final ByteProcessor FIND_CR
        Aborts on a CR ('\r').
      • FIND_NON_CR

        static final ByteProcessor FIND_NON_CR
        Aborts on a non-CR ('\r').
      • FIND_LF

        static final ByteProcessor FIND_LF
        Aborts on a LF ('\n').
      • FIND_NON_LF

        static final ByteProcessor FIND_NON_LF
        Aborts on a non-LF ('\n').
      • FIND_SEMI_COLON

        static final ByteProcessor FIND_SEMI_COLON
        Aborts on a semicolon (';').
      • FIND_COMMA

        static final ByteProcessor FIND_COMMA
        Aborts on a comma (',').
      • FIND_ASCII_SPACE

        static final ByteProcessor FIND_ASCII_SPACE
        Aborts on a ascii space character (' ').
      • FIND_CRLF

        static final ByteProcessor FIND_CRLF
        Aborts on a CR ('\r') or a LF ('\n').
      • FIND_NON_CRLF

        static final ByteProcessor FIND_NON_CRLF
        Aborts on a byte which is neither a CR ('\r') nor a LF ('\n').
      • FIND_LINEAR_WHITESPACE

        static final ByteProcessor FIND_LINEAR_WHITESPACE
        Aborts on a linear whitespace (a (' ' or a '\t').
      • FIND_NON_LINEAR_WHITESPACE

        static final ByteProcessor FIND_NON_LINEAR_WHITESPACE
        Aborts on a byte which is not a linear whitespace (neither ' ' nor '\t').
    • Method Detail

      • process

        boolean process​(byte value)
        Returns:
        true if the processor wants to continue the loop and handle the next byte in the buffer. false if the processor wants to stop handling bytes and abort the loop.