R - the result typepublic interface IntAcceptor<R> extends BaseAcceptor<R>
| Modifier and Type | Method and Description |
|---|---|
default void |
accept(byte[] bytes)
Accept a
byte array as a sequence of integer values. |
default void |
accept(byte[] bytes,
int offset,
int length)
Accept a section of a
byte array as a sequence of integer values. |
default void |
accept(CharSequence cs)
Accept a
CharSequence (e.g. |
default void |
accept(InputStream inputStream)
Accept an
InputStream as a sequence of integer values. |
void |
accept(int value)
Accept a value.
|
flush, getResult, isClosed, isCompleteclosevoid accept(int value)
throws Exception
value - the value to be processedException - if thrown by a close() methoddefault void accept(CharSequence cs) throws Exception
CharSequence (e.g. String) as a sequence of integer values.cs - the CharSequenceException - if thrown by a close() methoddefault void accept(byte[] bytes,
int offset,
int length)
throws Exception
byte array as a sequence of integer values.bytes - the byte arrayoffset - the starting offsetlength - the length to acceptException - if thrown by a close() methoddefault void accept(byte[] bytes)
throws Exception
byte array as a sequence of integer values.bytes - the byte arrayException - if thrown by a close() methoddefault void accept(InputStream inputStream) throws Exception
InputStream as a sequence of integer values.inputStream - the InputStreamException - is thrown byt the InputStream or by a close() methodCopyright © 2020. All rights reserved.