A B C D E F G H I L M N O P R S T U W Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- alphabet() - Method in class swim.codec.Base16
-
Returns a 16 character string, where the character at index
iis the encoding of the base-16 digiti. - alphabet() - Method in class swim.codec.Base64
-
Returns a 64 character string, where the character at index
iis the encoding of the base-64 digiti. - andThen(Encoder<I, O2>) - Method in class swim.codec.Encoder
-
Returns an
Encoderthat continues encodingthatEncoder, after it finishes encodingthisEncoder. - andThen(Encoder<I, O2>) - Method in class swim.codec.Writer
- andThen(Writer<I, O2>) - Method in class swim.codec.Writer
-
Returns a
Writerthat continues writingthatWriter, after it finishes writingthisWriter. - array() - Method in class swim.codec.InputBuffer
- array() - Method in class swim.codec.OutputBuffer
- arrayOffset() - Method in class swim.codec.InputBuffer
- arrayOffset() - Method in class swim.codec.OutputBuffer
- asDone() - Method in class swim.codec.Encoder
-
Casts a done
Encoderto a different input type. - asDone() - Method in class swim.codec.Writer
-
Casts a done
Writerto a different input type. - asError() - Method in class swim.codec.Decoder
-
Casts an errored
Decoderto a different output type. - asError() - Method in class swim.codec.Encoder
-
Casts an errored
Encoderto different input and output types. - asError() - Method in class swim.codec.Parser
-
Casts an errored
Parserto a different output type. - asError() - Method in class swim.codec.Writer
-
Casts an errored
Writerto different input and output types. - at(long, int, int) - Static method in class swim.codec.Mark
-
Returns a new
Markat the given zero-based byteoffset, one-basedlinenumber, and one-basedcolumnnumber, with no attached note. - at(long, int, int, String) - Static method in class swim.codec.Mark
-
Returns a new
Markat the given zero-based byteoffset, one-basedlinenumber, and one-basedcolumnnumber, with the attachednote.
B
- Base10 - Class in swim.codec
- Base16 - Class in swim.codec
- Base64 - Class in swim.codec
- Binary - Class in swim.codec
- bind() - Method in class swim.codec.Decoder
-
Returns the decoded result.
- bind() - Method in class swim.codec.DynamicDecoder
- bind() - Method in class swim.codec.DynamicEncoder
- bind() - Method in class swim.codec.Encoder
-
Returns the encoded result.
- bind() - Method in class swim.codec.Output
-
Returns the implementation-defined result of writing the output.
- bind() - Method in class swim.codec.Parser
-
Returns the parsed result.
- bind() - Method in class swim.codec.Writer
-
Returns the written result.
- black(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII black foreground color escape code to
output, ifoutput.settings().isStyled()istrue. - blackBold(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII bold black foreground color escape code to
output, ifoutput.settings().isStyled()istrue. - blue(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII blue foreground color escape code to
output, ifoutput.settings().isStyled()istrue. - blueBold(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII bold blue foreground color escape code to
output, ifoutput.settings().isStyled()istrue. - bold(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII bold (increased intensity) escape code to
output, ifoutput.settings().isStyled()istrue. - byteArrayOutput() - Static method in class swim.codec.Binary
-
Returns a new
Outputthat appends bytes to a growable array. - byteArrayOutput(int) - Static method in class swim.codec.Binary
-
Returns a new
Outputthat appends bytes to a growable array, pre-allocated with space forinitialCapacitybytes. - byteArrayOutput(int, OutputSettings) - Static method in class swim.codec.Binary
-
Returns a new
Outputthat appends bytes to a growable array, pre-allocated with space forinitialCapacitybytes, using the givensettings. - byteArrayOutput(OutputSettings) - Static method in class swim.codec.Binary
-
Returns a new
Outputthat appends bytes to a growable array, using the givensettings. - byteArrayWriter() - Method in class swim.codec.Base16
-
Returns a
Writerthat, when fed an inputbyte[]array, returns a continuation that writes the base-16 (hexadecimal) encoding of the input byte array. - byteArrayWriter() - Method in class swim.codec.Base64
-
Returns a
Writerthat, when fed an inputbyte[]array, returns a continuation that writes the base-64 (7-bit ASCII) encoding of the input byte array. - byteArrayWriter() - Static method in class swim.codec.Binary
- byteArrayWriter(byte[]) - Method in class swim.codec.Base16
-
Returns a
Writercontinuation that writes the base-16 (hexadecimal) encoding of theinputbyte array. - byteArrayWriter(byte[]) - Method in class swim.codec.Base64
-
Returns a
Writercontinuation that writes the base-64 (7-bit ASCII) encoding of theinputbyte array. - byteArrayWriter(byte[]) - Static method in class swim.codec.Binary
- byteArrayWriter(O, byte[]) - Static method in class swim.codec.Binary
- byteBufferEWriter(O, ByteBuffer) - Static method in class swim.codec.Binary
- byteBufferOutput() - Static method in class swim.codec.Binary
-
Returns a new
Outputthat appends bytes to a growable array. - byteBufferOutput(int) - Static method in class swim.codec.Binary
-
Returns a new
Outputthat appends bytes to a growable array, pre-allocated with space forinitialCapacitybytes. - byteBufferOutput(int, OutputSettings) - Static method in class swim.codec.Binary
-
Returns a new
Outputthat appends bytes to a growable array, pre-allocated with space forinitialCapacitybytes, using the givensettings. - byteBufferOutput(OutputSettings) - Static method in class swim.codec.Binary
-
Returns a new
Outputthat appends bytes to a growable array, using the givensettings. - byteBufferWriter() - Method in class swim.codec.Base16
-
Returns a
Writerthat, when fed an inputByteBuffer, returns a continuation that writes the base-16 (hexadecimal) encoding of the input byte buffer. - byteBufferWriter() - Method in class swim.codec.Base64
-
Returns a
Writerthat, when fed an inputByteBuffer, returns a continuation that writes the base-64 (7-bit ASCII) encoding of the input byte buffer. - byteBufferWriter() - Static method in class swim.codec.Binary
- byteBufferWriter(ByteBuffer) - Method in class swim.codec.Base16
-
Returns a
Writercontinuation that writes the base-16 (hexadecimal) encoding of theinputbyte buffer. - byteBufferWriter(ByteBuffer) - Method in class swim.codec.Base64
-
Returns a
Writercontinuation that writes the base-64 (7-bit ASCII) encoding of theinputbyte buffer. - byteBufferWriter(ByteBuffer) - Static method in class swim.codec.Binary
C
- canEqual(Object) - Method in class swim.codec.InputSettings
- canEqual(Object) - Method in class swim.codec.OutputSettings
- capacity() - Method in class swim.codec.InputBuffer
- capacity() - Method in class swim.codec.OutputBuffer
- cause() - Method in class swim.codec.Diagnostic
-
Returns the
Diagnosticcause of this diagnostic, forming a linked chain of diagnostics, ornullif this diagnostic has no cause. - channelEncoder() - Static method in class swim.codec.Binary
- channelEncoder(ReadableByteChannel) - Static method in class swim.codec.Binary
- clone() - Method in class swim.codec.Input
-
Returns an independently positioned view into the token stream, initialized with identical state to this
Input. - clone() - Method in class swim.codec.InputBuffer
- clone() - Method in class swim.codec.Output
-
Returns an implementation-defined branch of the token stream.
- clone() - Method in class swim.codec.OutputBuffer
- column() - Method in class swim.codec.Input
-
Returns the one-based column number of the current lookahead token, relative to the current line in the stream.
- column() - Method in class swim.codec.Mark
-
Returns the one-based column number of this position.
- compareTo(Mark) - Method in class swim.codec.Mark
- copy(boolean) - Method in class swim.codec.InputSettings
- copy(String, boolean, boolean) - Method in class swim.codec.OutputSettings
- countDigits(int) - Static method in class swim.codec.Base10
-
Returns the number of decimal digits in the given absolute
value. - countDigits(long) - Static method in class swim.codec.Base10
-
Returns the number of decimal digits in the given absolute
value. - create(boolean) - Static method in class swim.codec.InputSettings
-
Returns
InputSettingsconfigured to not include diagnostic metadata in generated output, ifisStrippedistrue. - create(String, boolean, boolean) - Static method in class swim.codec.OutputSettings
-
Returns
OutputSettingsconfigured with the givenlineSeparator, pretty printing enabled ifisPrettyistrue, and styling enabled ifisStyledistrue. - cyan(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII cyan foreground color escape code to
output, ifoutput.settings().isStyled()istrue. - cyanBold(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII bold cyan foreground color escape code to
output, ifoutput.settings().isStyled()istrue.
D
- debug(Object) - Static method in class swim.codec.Format
- debug(Object) - Method in class swim.codec.Output
-
Writes the code points of the developer-readable
Debugstring of the givenobject. - debug(Object) - Method in class swim.codec.OutputBuffer
- debug(Object, Output<?>) - Static method in class swim.codec.Format
- debug(Object, OutputSettings) - Static method in class swim.codec.Format
-
Returns the developer-readable
Displaystring for the givemobject, output using the givensettings. - debug(Output<?>) - Method in interface swim.codec.Debug
-
Writes a developer readable, debug-formatted string representation of this object to
output. - debug(Output<?>) - Method in class swim.codec.InputSettings
- debug(Output<?>) - Method in class swim.codec.Mark
- debug(Output<?>) - Method in class swim.codec.OutputSettings
- debug(Output<?>) - Method in class swim.codec.Span
- debug(Output<?>) - Method in class swim.codec.UtfErrorMode
- Debug - Interface in swim.codec
-
Type that can output a developer readable debug string.
- debugChar(int, Output<?>) - Static method in class swim.codec.Format
-
Writes the code points of the Java character literal for the given
charactertooutput. - debugDouble(double, Output<?>) - Static method in class swim.codec.Format
-
Writes the code points of the Java numeric literal for the given
valuetooutput. - debugFloat(float, Output<?>) - Static method in class swim.codec.Format
-
Writes the code points of the Java numeric literal for the given
valuetooutput. - debugInt(int, Output<?>) - Static method in class swim.codec.Format
-
Writes the code points of the Java numeric literal for the given
valuetooutput. - debugLong(long, Output<?>) - Static method in class swim.codec.Format
-
Writes the code points of the Java numeric literal for the given
valuetooutput. - debugString(String, Output<?>) - Static method in class swim.codec.Format
-
Writes the code points of the Java string literal for the given
stringtooutput. - decimalParser() - Static method in class swim.codec.Base10
- decode(Decoder<O>, InputStream) - Static method in class swim.codec.Binary
- decode(Parser<O>, InputStream) - Static method in class swim.codec.Utf8
- decodeDigit(int) - Static method in class swim.codec.Base10
-
Returns the decimal quantity between
0(inclusive) and10(exclusive) represented by the base-10 digitc. - decodeDigit(int) - Static method in class swim.codec.Base16
-
Returns the 4-bit quantity represented by the base-16 digit
c. - decodeDigit(int) - Method in class swim.codec.Base64
-
Returns the 7-bit quantity represented by the base-64 digit
c. - decodedInput(Input) - Static method in class swim.codec.Utf8
- decodedInput(Input, UtfErrorMode) - Static method in class swim.codec.Utf8
- decodedOutput(Output<T>) - Static method in class swim.codec.Utf8
-
Returns a new
Outputthat accepts UTF-8 code unit sequences, and writes decoded Unicode code points to the composedoutput, handling invalid code unit sequences according to theUtfErrorMode.fatal()policy. - decodedOutput(Output<T>, UtfErrorMode) - Static method in class swim.codec.Utf8
-
Returns a new
Outputthat accepts UTF-8 code unit sequences, and writes decoded Unicode code points to the composedoutput, handling invalid code unit sequences according to theerrorModepolicy. - decodedParser(Parser<O>) - Static method in class swim.codec.Utf8
- decodedParser(Parser<O>, UtfErrorMode) - Static method in class swim.codec.Utf8
- decodedString() - Static method in class swim.codec.Utf8
-
Returns a new
Outputthat accepts UTF-8 code unit sequences, and writes decoded Unicode code points to a growableString, handling invalid code unit sequences according to theUtfErrorMode.fatal()policy. - decodeOutput(Output<O>, Input) - Static method in class swim.codec.Utf8
-
Writes the decoded Unicode code points of the
inputbuffer to the givenoutput, returning aDecodercontinuation that knows how to decode subsequent input buffers. - decodeOutput(Output<O>, InputBuffer, UtfErrorMode) - Static method in class swim.codec.Utf8
-
Writes the decoded Unicode code points of the
inputbuffer to the givenoutput, returning aDecodercontinuation that knows how to decode subsequent input buffers. - Decoder<O> - Class in swim.codec
-
Continuation of how to decode subsequent input buffers from a byte stream.
- Decoder() - Constructor for class swim.codec.Decoder
- DecoderException - Exception in swim.codec
-
Thrown when a
Decoderdecodes invalid data. - DecoderException() - Constructor for exception swim.codec.DecoderException
- DecoderException(String) - Constructor for exception swim.codec.DecoderException
- DecoderException(String, Throwable) - Constructor for exception swim.codec.DecoderException
- DecoderException(Throwable) - Constructor for exception swim.codec.DecoderException
- decoding - Variable in class swim.codec.DynamicDecoder
-
Current decoder continuation.
- Diagnostic - Class in swim.codec
-
Informational message attached to an input location.
- didDecode(O) - Method in class swim.codec.DynamicDecoder
-
Lifecycle callback invoked after this
DynamicDecoderhas finished decoding avalue. - didEncode(O) - Method in class swim.codec.DynamicEncoder
-
Lifecycle callback invoked after this
DynamicEncoderhas finished encoding avalue. - display(Object) - Static method in class swim.codec.Format
- display(Object) - Method in class swim.codec.Output
-
Writes the code points of the human-readable
Displaystring of the givenobject. - display(Object) - Method in class swim.codec.OutputBuffer
- display(Object, Output<?>) - Static method in class swim.codec.Format
- display(Object, OutputSettings) - Static method in class swim.codec.Format
- display(Output<?>) - Method in class swim.codec.Diagnostic
- display(Output<?>) - Method in interface swim.codec.Display
-
Writes a human readable, display-formatted string representation of this object to
output. - display(Output<?>) - Method in class swim.codec.Mark
- display(Output<?>) - Method in class swim.codec.Span
- Display - Interface in swim.codec
-
Type that can output a human readable display string.
- displayDouble(double, Output<?>) - Static method in class swim.codec.Format
-
Writes the code points of the numeric string for the given
valuetooutput. - displayFloat(float, Output<?>) - Static method in class swim.codec.Format
-
Writes the code points of the numeric string for the given
valuetooutput. - displayInt(int, Output<?>) - Static method in class swim.codec.Format
-
Writes the code points of the numeric string for the given
valuetooutput. - displayLong(long, Output<?>) - Static method in class swim.codec.Format
-
Writes the code points of the numeric string for the given
valuetooutput. - doDecode() - Method in class swim.codec.DynamicDecoder
-
Returns a new
Decodercontinuation for thisDynamicDecoder, ornullif thisDynamicDecoderis done. - doEncode() - Method in class swim.codec.DynamicEncoder
-
Returns a new
Encodercontinuation for thisDynamicEncoder, ornullif thisDynamicEncoderis done. - done() - Static method in class swim.codec.Decoder
-
Returns a
Decoderin the done state thatbinds anulldecoded result. - done() - Static method in class swim.codec.Encoder
-
Returns an
Encoderin the done state thatbinds anullencoded result. - done() - Static method in class swim.codec.Input
-
Returns an
Inputin the done state. - done() - Static method in class swim.codec.InputBuffer
-
Returns an
InputBufferin the done state. - done() - Static method in class swim.codec.Output
-
Returns an
Outputin the done state, that binds anullresult. - done() - Static method in class swim.codec.OutputBuffer
-
Returns an
OutputBufferin the done state, that binds anullresult. - done() - Static method in class swim.codec.Parser
-
Returns a
Parserin the done state thatbinds anullparsed result. - done() - Static method in class swim.codec.Writer
-
Returns a
Writerin the done state thatbinds anullwritten result. - done(Object, Mark) - Static method in class swim.codec.Input
-
Returns an
Inputin the done state, at themarkposition of a token stream logically identified byid. - done(Object, Mark) - Static method in class swim.codec.InputBuffer
-
Returns an
InputBufferin the done state, at themarkposition of a token stream logically identified byid. - done(Object, Mark, InputSettings) - Static method in class swim.codec.Input
-
Returns an
Inputin the done state, at themarkposition of a token stream logically identified byid, with the givensettings. - done(Object, Mark, InputSettings) - Static method in class swim.codec.InputBuffer
-
Returns an
InputBufferin the done state, at themarkposition of a token stream logically identified byid, with the givensettings. - done(O) - Static method in class swim.codec.Decoder
-
Returns a
Decoderin the done state thatbinds the given decodedoutput. - done(O) - Static method in class swim.codec.Encoder
-
Returns an
Encoderin the done state thatbinds the given encodedoutput. - done(O) - Static method in class swim.codec.Parser
-
Returns a
Parserin the done state thatbinds the given parsedoutput. - done(O) - Static method in class swim.codec.Writer
-
Returns a
Writerin the done state thatbinds the given writtenoutput. - done(InputSettings) - Static method in class swim.codec.Input
-
Returns an
Inputin the done state, with the givensettings. - done(InputSettings) - Static method in class swim.codec.InputBuffer
-
Returns an
InputBufferin the done state, with the givensettings. - done(OutputSettings) - Static method in class swim.codec.Output
-
Returns an
Outputin the done state, with the givensettings. - done(OutputSettings) - Static method in class swim.codec.OutputBuffer
-
Returns an
OutputBufferin the done state, with the givensettings. - done(T) - Static method in class swim.codec.Output
-
Returns an
Outputin the done state, that binds the givenvalue. - done(T) - Static method in class swim.codec.OutputBuffer
-
Returns an
OutputBufferin the done state, that binds the givenvalue. - done(T, OutputSettings) - Static method in class swim.codec.Output
-
Returns an
Outputin the done state, that binds the givenvalue, with the givensettings. - done(T, OutputSettings) - Static method in class swim.codec.OutputBuffer
-
Returns an
OutputBufferin the done state, that binds the givenvalue, with the givensettings. - doubleWriter(long) - Static method in class swim.codec.Base10
-
Returns a
Writercontinuation that writes the base-10 (decimal) encoding of theinputvalue. - DynamicDecoder<O> - Class in swim.codec
-
Dynamically generated
Decodercontinuation. - DynamicDecoder() - Constructor for class swim.codec.DynamicDecoder
- DynamicEncoder<I,O> - Class in swim.codec
-
Dynamically generated
Encodercontinuation. - DynamicEncoder() - Constructor for class swim.codec.DynamicEncoder
E
- empty() - Static method in class swim.codec.Input
-
Returns an
Inputin the empty state. - empty() - Static method in class swim.codec.InputBuffer
-
Returns an
InputBufferin the empty state. - empty(Object, Mark) - Static method in class swim.codec.Input
-
Returns an
Inputin the empty state, at themarkposition of a token stream logically identified byid. - empty(Object, Mark) - Static method in class swim.codec.InputBuffer
-
Returns an
InputBufferin the empty state, at themarkposition of a token stream logically identified byid. - empty(Object, Mark, InputSettings) - Static method in class swim.codec.Input
-
Returns an
Inputin the empty state, at themarkposition of a token stream logically identified byid, with the givensettings. - empty(Object, Mark, InputSettings) - Static method in class swim.codec.InputBuffer
-
Returns an
InputBufferin the empty state, at themarkposition of a token stream logically identified byid, with the givensettings. - empty(InputSettings) - Static method in class swim.codec.Input
-
Returns an
Inputin the empty state, with the givensettings. - empty(InputSettings) - Static method in class swim.codec.InputBuffer
-
Returns an
InputBufferin the empty state, with the givensettings. - encodeDigit(int) - Static method in class swim.codec.Base10
-
Returns the Unicode code point of the base-10 digit that encodes the given decimal quantity between
0(inclusive) and10(exclusive). - encodeDigit(int) - Method in class swim.codec.Base16
-
Returns the Unicode code point of the base-16 digit that encodes the given 4-bit quantity.
- encodeDigit(int) - Method in class swim.codec.Base64
-
Returns the Unicode code point of the base-64 digit that encodes the given 7-bit quantity.
- encodedOutput(Output<T>) - Static method in class swim.codec.Utf8
- encodedOutput(Output<T>, UtfErrorMode) - Static method in class swim.codec.Utf8
- encodedWriter(Writer<I, O>) - Static method in class swim.codec.Utf8
- encodedWriter(Writer<I, O>, UtfErrorMode) - Static method in class swim.codec.Utf8
- Encoder<I,O> - Class in swim.codec
-
Continuation of how encode subsequent output buffers for a byte stream.
- Encoder() - Constructor for class swim.codec.Encoder
- EncoderException - Exception in swim.codec
-
Thrown when an
Encoderencodes invalid data. - EncoderException() - Constructor for exception swim.codec.EncoderException
- EncoderException(String) - Constructor for exception swim.codec.EncoderException
- EncoderException(String, Throwable) - Constructor for exception swim.codec.EncoderException
- EncoderException(Throwable) - Constructor for exception swim.codec.EncoderException
- encoding - Variable in class swim.codec.DynamicEncoder
-
Current encoder continuation.
- end() - Method in class swim.codec.Mark
- end() - Method in class swim.codec.Span
- end() - Method in class swim.codec.Tag
-
Returns the last source position covered by this
Tag. - equals(Object) - Method in class swim.codec.InputSettings
- equals(Object) - Method in class swim.codec.Mark
- equals(Object) - Method in class swim.codec.OutputSettings
- equals(Object) - Method in class swim.codec.Span
- error(Throwable) - Static method in class swim.codec.Decoder
-
Returns a
Decoderin the error state thattraps the given decodeerror. - error(Throwable) - Static method in class swim.codec.Encoder
-
Returns an
Encoderin the error state thattraps the given encodeerror. - error(Throwable) - Static method in class swim.codec.Input
-
Returns an
Inputin the error state, with the given inputerror. - error(Throwable) - Static method in class swim.codec.InputBuffer
-
Returns an
InputBufferin the error state, with the given inputerror. - error(Throwable) - Static method in class swim.codec.Output
-
Returns an
Outputin the error state, with the given outputerror. - error(Throwable) - Static method in class swim.codec.OutputBuffer
-
Returns an
OutputBufferin the error state, with the given outputerror. - error(Throwable) - Static method in class swim.codec.Parser
-
Returns a
Parserin the error state thattraps the given parseerror. - error(Throwable) - Static method in class swim.codec.Writer
-
Returns a
Writerin the error state thattraps the given writeerror. - error(Throwable, Object, Mark) - Static method in class swim.codec.Input
-
Returns an
Inputin the error state, with the given inputerror, at themarkposition of a token stream logically identified byid. - error(Throwable, Object, Mark) - Static method in class swim.codec.InputBuffer
-
Returns an
InputBufferin the error state, with the given inputerror, at themarkposition of a token stream logically identified byid. - error(Throwable, Object, Mark, InputSettings) - Static method in class swim.codec.Input
-
Returns an
Inputin the error state, with the given inputerror, at themarkposition of a token stream logically identified byid, with the givensettings. - error(Throwable, Object, Mark, InputSettings) - Static method in class swim.codec.InputBuffer
-
Returns an
InputBufferin the error state, with the given inputerror, at themarkposition of a token stream logically identified byid, with the givensettings. - error(Throwable, InputSettings) - Static method in class swim.codec.Input
-
Returns an
Inputin the error state, with the given inputerrorandsettings. - error(Throwable, InputSettings) - Static method in class swim.codec.InputBuffer
-
Returns an
InputBufferin the error state, with the given inputerrorandsettings. - error(Throwable, OutputSettings) - Static method in class swim.codec.Output
-
Returns an
Outputin the error state, with the given outputerrorandsettings. - error(Throwable, OutputSettings) - Static method in class swim.codec.OutputBuffer
-
Returns an
OutputBufferin the error state, with the given outputerrorandsettings. - error(Diagnostic) - Static method in class swim.codec.Parser
- expected(int, Input) - Static method in class swim.codec.Diagnostic
- expected(int, Input, String) - Static method in class swim.codec.Diagnostic
- expected(int, Input, String, Diagnostic) - Static method in class swim.codec.Diagnostic
- expected(int, Input, Diagnostic) - Static method in class swim.codec.Diagnostic
- expected(int, Input, Severity) - Static method in class swim.codec.Diagnostic
- expected(int, Input, Severity, String) - Static method in class swim.codec.Diagnostic
- expected(int, Input, Severity, String, Diagnostic) - Static method in class swim.codec.Diagnostic
- expected(int, Input, Severity, Diagnostic) - Static method in class swim.codec.Diagnostic
- expected(String, Input) - Static method in class swim.codec.Diagnostic
- expected(String, Input, String) - Static method in class swim.codec.Diagnostic
- expected(String, Input, String, Diagnostic) - Static method in class swim.codec.Diagnostic
- expected(String, Input, Diagnostic) - Static method in class swim.codec.Diagnostic
- expected(String, Input, Severity) - Static method in class swim.codec.Diagnostic
- expected(String, Input, Severity, String) - Static method in class swim.codec.Diagnostic
- expected(String, Input, Severity, String, Diagnostic) - Static method in class swim.codec.Diagnostic
- expected(String, Input, Severity, Diagnostic) - Static method in class swim.codec.Diagnostic
F
- faint(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII faint (decreased intensity) escape code to
output, ifoutput.settings().isStyled()istrue. - fatal() - Static method in class swim.codec.UtfErrorMode
-
Returns a
UtfErrorModethat aborts Unicode decoding with an error when invalid code unit sequences are encountered. - fatalNonZero() - Static method in class swim.codec.UtfErrorMode
-
Returns a
UtfErrorModethat aborts Unicode decoding with an error when invalid code unit sequences, andNULbytes, are encountered. - feed(I) - Method in class swim.codec.DynamicEncoder
- feed(I) - Method in class swim.codec.Encoder
-
Returns an
Encoderthat represents the continuation of how to encode the giveninputobject. - feed(I) - Method in class swim.codec.Writer
-
Returns a
Writerthat represents the continuation of how to write the giveninputobject. - feed(Input) - Method in class swim.codec.Parser
-
Incrementally parses as much
inputas possible, and returns anotherParserthat represents the continuation of how to parse additionalInput. - feed(InputBuffer) - Method in class swim.codec.Decoder
-
Incrementally decodes as much
inputbuffer data as possible, and returns anotherDecoderthat represents the continuation of how to decode additional buffer data. - feed(InputBuffer) - Method in class swim.codec.DynamicDecoder
- feed(InputBuffer) - Method in class swim.codec.Parser
- floatWriter(long) - Static method in class swim.codec.Base10
-
Returns a
Writercontinuation that writes the base-10 (decimal) encoding of theinputvalue. - flush() - Method in class swim.codec.Output
-
Writes any internally buffered state to the underlying output stream.
- flush() - Method in class swim.codec.OutputBuffer
- fork(Object) - Method in class swim.codec.Decoder
-
Returns a
Decodercontinuation whose behavior may be altered by the given out-of-bandcondition. - fork(Object) - Method in class swim.codec.DynamicDecoder
- fork(Object) - Method in class swim.codec.DynamicEncoder
- fork(Object) - Method in class swim.codec.Encoder
-
Returns an
Encodercontinuation whose behavior may be altered by the given out-of-bandcondition. - fork(Object) - Method in class swim.codec.Input
-
Returns an
Inputequivalent to thisInput, but whose behavior may be altered by the given out-of-bandcondition. - fork(Object) - Method in class swim.codec.InputBuffer
- fork(Object) - Method in class swim.codec.Output
-
Returns an
Outputequivalent to thisOutput, but whose behavior may be altered by the given out-of-bandcondition. - fork(Object) - Method in class swim.codec.OutputBuffer
- fork(Object) - Method in class swim.codec.Parser
-
Returns a
Parsercontinuation whose behavior may be altered by the given out-of-bandcondition. - fork(Object) - Method in class swim.codec.Writer
-
Returns a
Writercontinuation whose behavior may be altered by the given out-of-bandcondition. - Format - Class in swim.codec
-
Text format utility functions.
- from(Input, Tag, Severity) - Static method in class swim.codec.Diagnostic
- from(Input, Tag, Severity, String) - Static method in class swim.codec.Diagnostic
- from(Input, Tag, Severity, String, String) - Static method in class swim.codec.Diagnostic
- from(Input, Tag, Severity, String, String, Diagnostic) - Static method in class swim.codec.Diagnostic
- from(Input, Tag, Severity, String, Diagnostic) - Static method in class swim.codec.Diagnostic
- from(Input, Tag, Severity, Diagnostic) - Static method in class swim.codec.Diagnostic
- from(Mark, Mark) - Static method in class swim.codec.Span
-
Returns a new
Spanrepresenting the closed interval between the givenstartandendmarks. - full() - Static method in class swim.codec.Output
-
Returns an
Outputin the full state, that binds anullresult. - full() - Static method in class swim.codec.OutputBuffer
-
Returns an
OutputBufferin the full state, that binds anullresult. - full(OutputSettings) - Static method in class swim.codec.Output
-
Returns an
Outputin the full state, with the givensettings. - full(OutputSettings) - Static method in class swim.codec.OutputBuffer
-
Returns an
OutputBufferin the full state, with the givensettings. - full(T) - Static method in class swim.codec.Output
-
Returns an
Outputin the full state, that binds the givenvalue. - full(T) - Static method in class swim.codec.OutputBuffer
-
Returns an
OutputBufferin the full state, that binds the givenvalue. - full(T, OutputSettings) - Static method in class swim.codec.Output
-
Returns an
Outputin the full state, that binds the givenvalue, with the givensettings. - full(T, OutputSettings) - Static method in class swim.codec.OutputBuffer
-
Returns an
OutputBufferin the full state, that binds the givenvalue, with the givensettings.
G
- get(int) - Method in class swim.codec.InputBuffer
- get(int) - Method in class swim.codec.OutputBuffer
- getDiagnostic() - Method in exception swim.codec.ParserException
- gray(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII gray foreground color escape code to
output, ifoutput.settings().isStyled()istrue. - grayBold(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII bold gray foreground color escape code to
output, ifoutput.settings().isStyled()istrue. - green(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII green foreground color escape code to
output, ifoutput.settings().isStyled()istrue. - greenBold(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII bold green foreground color escape code to
output, ifoutput.settings().isStyled()istrue.
H
- has(int) - Method in class swim.codec.InputBuffer
- has(int) - Method in class swim.codec.OutputBuffer
- hashCode() - Method in class swim.codec.InputSettings
- hashCode() - Method in class swim.codec.Mark
- hashCode() - Method in class swim.codec.OutputSettings
- hashCode() - Method in class swim.codec.Span
- head() - Method in class swim.codec.Input
-
Returns the current lookahead token, if this
Inputis in the cont state.
I
- id() - Method in class swim.codec.Input
-
Returns an object that identifies the token stream, or
nullif the stream is unidentified. - id(Object) - Method in class swim.codec.Input
-
Returns an
Inputequivalent to thisInput, but logically identified by the given–possiblynull–id. - id(Object) - Method in class swim.codec.InputBuffer
- index() - Method in class swim.codec.InputBuffer
- index() - Method in class swim.codec.OutputBuffer
- index(int) - Method in class swim.codec.InputBuffer
- index(int) - Method in class swim.codec.OutputBuffer
- input() - Method in class swim.codec.Diagnostic
-
Returns the
Inputsource to which this diagnostic is attached. - input(byte...) - Static method in class swim.codec.Binary
- Input - Class in swim.codec
-
Non-blocking token stream reader, with single token lookahead.
- Input() - Constructor for class swim.codec.Input
- inputBuffer(byte[]) - Static method in class swim.codec.Binary
- inputBuffer(byte[], int, int) - Static method in class swim.codec.Binary
- inputBuffer(ByteBuffer) - Static method in class swim.codec.Binary
- InputBuffer - Class in swim.codec
-
Non-blocking token stream buffer.
- InputBuffer() - Constructor for class swim.codec.InputBuffer
- InputException - Exception in swim.codec
-
Thrown when reading invalid
Input. - InputException() - Constructor for exception swim.codec.InputException
- InputException(String) - Constructor for exception swim.codec.InputException
- InputException(String, Throwable) - Constructor for exception swim.codec.InputException
- InputException(Throwable) - Constructor for exception swim.codec.InputException
- InputSettings - Class in swim.codec
-
Inputconsumption parameters. - InputSettings(boolean) - Constructor for class swim.codec.InputSettings
- integerParser() - Static method in class swim.codec.Base10
- intWriter() - Static method in class swim.codec.Base10
-
Returns a
Writerthat, when fed an inputIntegervalue, returns a continuation that writes the base-10 (decimal) encoding of the input value. - intWriter(int) - Static method in class swim.codec.Base10
-
Returns a
Writercontinuation that writes the base-10 (decimal) encoding of theinputvalue. - isCont() - Method in class swim.codec.Decoder
- isCont() - Method in class swim.codec.Encoder
-
Returns
truewhenpullis able to produce buffer data. - isCont() - Method in class swim.codec.Input
-
Returns
truewhen alookeaheadtoken is immediately available. - isCont() - Method in class swim.codec.Output
-
Returns
truewhen the nextOutput.write(int)will succeed. - isCont() - Method in class swim.codec.Parser
- isCont() - Method in class swim.codec.Writer
- isDigit(int) - Static method in class swim.codec.Base10
-
Returns
trueif the Unicode code pointcis a valid base-10 digit. - isDigit(int) - Static method in class swim.codec.Base16
-
Returns
trueif the Unicode code pointcis a valid base-16 digit. - isDigit(int) - Method in class swim.codec.Base64
-
Returns
trueif the Unicode code pointcis a valid base-64 digit. - isDone() - Method in class swim.codec.Decoder
-
Returns
truewhen decoding has terminated successfully, andbindwill return the decoded result. - isDone() - Method in class swim.codec.Encoder
-
Returns
truewhen encoding has terminated successfully, andbindwill return the encoded result. - isDone() - Method in class swim.codec.Input
-
Returns
truewhen no lookahead token is currently available, and no additional input will ever become available. - isDone() - Method in class swim.codec.Output
-
Returns
truewhen nowritewill ever again suucced. - isDone() - Method in class swim.codec.Parser
-
Returns
truewhen parsing has terminated successfully, andbindwill return the parsed result. - isDone() - Method in class swim.codec.Writer
-
Returns
truewhen writing has terminated successfully, andbindwill return the written result. - isEmpty() - Method in class swim.codec.Input
-
Returns
truewhen no lookahead token is currently available, but additional input may be available in the future. - isError() - Method in class swim.codec.Decoder
-
Returns
truewhen decoding has terminated in failure, andtrapwill return the decode error. - isError() - Method in class swim.codec.Encoder
-
Returns
truewhen encoding has terminated in failure, andtrapwill return the encode error. - isError() - Method in class swim.codec.Input
-
Returns
truewhen no lookahead token is currently available due to an error with the token stream. - isError() - Method in class swim.codec.Output
-
Returns
truewhen an immediatewritewill fail due to an error with the token stream. - isError() - Method in class swim.codec.Parser
-
Returns
truewhen parsing has terminated in failure, andtrapwill return the parse error. - isError() - Method in class swim.codec.Writer
-
Returns
truewhen writing has terminated in failure, andtrapwill return the write error. - isFatal() - Method in class swim.codec.UtfErrorMode
-
Returns
trueif a Unicode decoding should abort with an error when an invalid code unit sequence is encountered. - isFull() - Method in class swim.codec.Output
-
Returns
truewhen an immediatewritewill fail, but writes may succeed at some point in the future. - isNonZero() - Method in class swim.codec.UtfErrorMode
-
Returns
trueif Unicode decoding should abort with an error when aNULbyte is encountered. - isNonZero(boolean) - Method in class swim.codec.UtfErrorMode
-
Returns a
UtfErrorModethat, ifisNonZeroistrue, aborts when Unicode decoding encounters aNULbyte. - isPadded() - Method in class swim.codec.Base64
-
Returns
trueif this base-64 encoding requires padding. - isPadded(boolean) - Method in class swim.codec.Base64
-
Returns this
Base64encoding with required padding, ifisPaddedistrue. - isPart() - Method in class swim.codec.Input
-
Returns
trueif this is a partialInputwill that enter the empty state after it consumes the last available input token. - isPart() - Method in class swim.codec.Output
-
Returns
trueif this is a partialOutputthat will enter the full state when it is unable to write additional tokens. - isPart(boolean) - Method in class swim.codec.Input
-
Returns a partial
Inputequivalent to thisInput, ifisPartistrue; returns a finalInputequivalent to thisInputifisPartisfalse. - isPart(boolean) - Method in class swim.codec.InputBuffer
- isPart(boolean) - Method in class swim.codec.Output
-
Returns a partial
Outputequivalent to thisOutput, ifisPartistrue; returns a finalOutputequivalent to thisOutputifisPartisfalse. - isPart(boolean) - Method in class swim.codec.OutputBuffer
- isPretty - Variable in class swim.codec.OutputSettings
- isPretty() - Method in class swim.codec.OutputSettings
-
Returns
trueif output producers should pretty print their output, when possible. - isPretty(boolean) - Method in class swim.codec.OutputSettings
-
Returns a copy of these settings with the given
isPrettyflag. - isReplacement() - Method in class swim.codec.UtfErrorMode
-
Returns
trueif a Unicode decoding should substitute invalid code unit sequences with a replacement character. - isStripped - Variable in class swim.codec.InputSettings
- isStripped() - Method in class swim.codec.InputSettings
-
Returns
trueif input consumers should not include diagnostic metadata in generated output. - isStripped(boolean) - Method in class swim.codec.InputSettings
-
Returns a copy of these settings with the given
isStrippedflag. - isStyled - Variable in class swim.codec.OutputSettings
- isStyled() - Method in class swim.codec.OutputSettings
-
Returns
trueif output producers should style their output, when possible. - isStyled(boolean) - Method in class swim.codec.OutputSettings
-
Returns a copy of these settings with the given
isStyledflag.
L
- limit() - Method in class swim.codec.InputBuffer
- limit() - Method in class swim.codec.OutputBuffer
- limit(int) - Method in class swim.codec.InputBuffer
- limit(int) - Method in class swim.codec.OutputBuffer
- line() - Method in class swim.codec.Input
-
Returns the one-based line number of the current lookahead token, relative to the start of the stream.
- line() - Method in class swim.codec.Mark
-
Returns the one-based line number of this position.
- lineParser() - Static method in class swim.codec.Unicode
- lineSeparator - Variable in class swim.codec.OutputSettings
- lineSeparator() - Static method in class swim.codec.Format
-
Returns the operting system specific string used to separate lines of text.
- lineSeparator() - Method in class swim.codec.OutputSettings
-
Returns the code point sequence used to separate lines of text.
- lineSeparator(String) - Method in class swim.codec.OutputSettings
-
Returns a copy of these settings with the given
lineSeparator. - longWriter() - Static method in class swim.codec.Base10
-
Returns a
Writerthat, when fed an inputLongvalue, returns a continuation that writes the base-10 (decimal) encoding of the input value. - longWriter(long) - Static method in class swim.codec.Base10
-
Returns a
Writercontinuation that writes the base-10 (decimal) encoding of theinputvalue. - lowercase() - Static method in class swim.codec.Base16
-
Returns the
Base16encoding with lowercase alphanumeric digits.
M
- magenta(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII magenta foreground color escape code to
output, ifoutput.settings().isStyled()istrue. - magentaBold(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII bold magenta foreground color escape code to
output, ifoutput.settings().isStyled()istrue. - mark() - Method in class swim.codec.Input
-
Returns the position of the current lookahead token, relative to the start of the stream.
- mark(Mark) - Method in class swim.codec.Input
-
Returns an
Inputequivalent to thisInput, but logically positioned at the givenmark. - mark(Mark) - Method in class swim.codec.InputBuffer
- Mark - Class in swim.codec
-
Description of a source position, identified by byte offset, line, and column number, with an optional note.
- max(Mark) - Method in class swim.codec.Mark
-
Returns
thisposition, if its byte offset is greater than or equal tothatposition; otherwise returnsthatposition. - message() - Method in class swim.codec.Diagnostic
-
Returns the help message that describes this diagnostic.
- message(String, Input) - Static method in class swim.codec.Diagnostic
- message(String, Input, String) - Static method in class swim.codec.Diagnostic
- message(String, Input, String, Diagnostic) - Static method in class swim.codec.Diagnostic
- message(String, Input, Diagnostic) - Static method in class swim.codec.Diagnostic
- message(String, Input, Severity) - Static method in class swim.codec.Diagnostic
- message(String, Input, Severity, String) - Static method in class swim.codec.Diagnostic
- message(String, Input, Severity, String, Diagnostic) - Static method in class swim.codec.Diagnostic
- message(String, Input, Severity, Diagnostic) - Static method in class swim.codec.Diagnostic
- min(Mark) - Method in class swim.codec.Mark
-
Returns
thisposition, if its byte offset is less than or equal tothatposition; otherwise returnsthatposition. - move(int, int, int) - Method in class swim.codec.OutputBuffer
N
- note() - Method in class swim.codec.Diagnostic
-
Returns an informative comment on the source context to which this diagnostic is attached.
- note() - Method in class swim.codec.Mark
-
Returns the note attached to the marked position, or
nullif this position has no attached note. - nullParser() - Static method in class swim.codec.Binary
- nullParser() - Static method in class swim.codec.Unicode
- numberParser() - Static method in class swim.codec.Base10
O
- offset() - Method in class swim.codec.Input
-
Returns the byte offset of the current lookahead token, relative to the start of the stream.
- offset() - Method in class swim.codec.Mark
-
Returns the zero-based byte offset of this position.
- Output<T> - Class in swim.codec
-
Non-blocking token stream writer.
- Output() - Constructor for class swim.codec.Output
- outputBuffer(byte[]) - Static method in class swim.codec.Binary
- outputBuffer(byte[], int, int) - Static method in class swim.codec.Binary
- outputBuffer(ByteBuffer) - Static method in class swim.codec.Binary
- OutputBuffer<T> - Class in swim.codec
-
Non-blocking token stream buffer.
- OutputBuffer() - Constructor for class swim.codec.OutputBuffer
- outputDecoder(Output<O>) - Static method in class swim.codec.Utf8
-
Returns a new
Decoderthat writes decoded Unicode code points to the givenoutput, handling invalid code unit sequences according to theUtfErrorMode.fatal()policy. - outputDecoder(Output<O>, UtfErrorMode) - Static method in class swim.codec.Utf8
-
Returns a new
Decoderthat writes decoded Unicode code points to the givenoutput, handling invalid code unit sequences according to theerrorModepolicy. - OutputException - Exception in swim.codec
-
Thrown when writing invalid
Output. - OutputException() - Constructor for exception swim.codec.OutputException
- OutputException(String) - Constructor for exception swim.codec.OutputException
- OutputException(String, Throwable) - Constructor for exception swim.codec.OutputException
- OutputException(Throwable) - Constructor for exception swim.codec.OutputException
- outputParser(Output<O>) - Static method in class swim.codec.Binary
-
Returns a new
Parserthat writes decoded bytes to the givenoutput. - outputParser(Output<O>) - Static method in class swim.codec.Unicode
- OutputSettings - Class in swim.codec
-
Outputproduction parameters. - OutputSettings(String, boolean, boolean) - Constructor for class swim.codec.OutputSettings
- OutputStyle - Class in swim.codec
-
Stylized text output utility functions.
P
- parse(Input, Output<O>) - Static method in class swim.codec.Base16
-
Parses the base-16 (hexadecimal) encoded
input, and writes the decoded bytes tooutput, returning aParsercontinuation that knows how to parse any additional input. - parse(Input, Output<O>) - Method in class swim.codec.Base64
-
Parses the base-64 (7-bit ASCII) encoded
input, and writes the decoded bytes tooutput, returning aParsercontinuation that knows how to parse any additional input. - parseByteArray(Input) - Static method in class swim.codec.Base16
-
Parses the base-16 (hexadecimal) encoded
input, and writes the decoded bytes to a growable array, returning aParsercontinuation that knows how to parse any additional input. - parseByteArray(Input) - Method in class swim.codec.Base64
-
Parses the base-64 (7-bit ASCII) encoded
input, and writes the decoded bytes to a growable array, returning aParsercontinuation that knows how to parse any additional input. - parseByteBuffer(Input) - Static method in class swim.codec.Base16
-
Parses the base-16 (hexadecimal) encoded
input, and writes the decoded bytes to a growable buffer, returning aParsercontinuation that knows how to parse any additional input. - parseByteBuffer(Input) - Method in class swim.codec.Base64
-
Parses the base-64 (t-bit ASCII) encoded
input, and writes the decoded bytes to a growable buffer, returning aParsercontinuation that knows how to parse any additional input. - parseDecimal(Input) - Static method in class swim.codec.Base10
- parseDecoded(Parser<O>, Input) - Static method in class swim.codec.Utf8
- parseDecoded(Parser<O>, Input, UtfErrorMode) - Static method in class swim.codec.Utf8
- parseInteger(Input) - Static method in class swim.codec.Base10
- parseLine(Input) - Static method in class swim.codec.Unicode
- parseLine(Input, StringBuilder) - Static method in class swim.codec.Unicode
- parseNull(Input) - Static method in class swim.codec.Binary
- parseNull(Input) - Static method in class swim.codec.Unicode
- parseNumber(Input) - Static method in class swim.codec.Base10
- parseOutput(Output<O>, Input) - Static method in class swim.codec.Binary
-
Writes the decoded bytes of the
inputbuffer to the givenoutput, returning aParsercontinuation that knows how to decode subsequent input buffers. - parseOutput(Output<O>, Input) - Static method in class swim.codec.Unicode
- parser(Output<O>) - Static method in class swim.codec.Base16
-
Returns a
Parserthat decodes base-16 (hexadecimal) encoded input, and writes the decoded bytes tooutput. - parser(Output<O>) - Method in class swim.codec.Base64
-
Returns a
Parserthat decodes base-64 (7-bit ASCII) encoded input, and writes the decoded bytes tooutput. - Parser<O> - Class in swim.codec
-
Continuation of how to parse subsequent
Inputtokens from a stream. - Parser() - Constructor for class swim.codec.Parser
- ParserException - Exception in swim.codec
-
Thrown when a
Parserparses invdalid syntax. - ParserException() - Constructor for exception swim.codec.ParserException
- ParserException(String) - Constructor for exception swim.codec.ParserException
- ParserException(String, Throwable) - Constructor for exception swim.codec.ParserException
- ParserException(Throwable) - Constructor for exception swim.codec.ParserException
- ParserException(Diagnostic) - Constructor for exception swim.codec.ParserException
- parseString(Input) - Static method in class swim.codec.Unicode
- parseString(Input) - Static method in class swim.codec.Utf8
- parseString(Input, StringBuilder) - Static method in class swim.codec.Unicode
- parseString(Input, StringBuilder) - Static method in class swim.codec.Utf8
- parseString(Input, StringBuilder, UtfErrorMode) - Static method in class swim.codec.Utf8
- parseString(Input, UtfErrorMode) - Static method in class swim.codec.Utf8
- pretty() - Static method in class swim.codec.OutputSettings
-
Returns
OutputSettingsconfigured with the system line separator, pretty printing enabled, and styling disabled. - prettyStyled() - Static method in class swim.codec.OutputSettings
-
Returns
OutputSettingsconfigured with the system line separator, pretty printing enabled, and styling enabled. - pull(Output<?>) - Method in class swim.codec.Writer
-
Incrementally writes as much
outputas possible, and returns anotherWriterthat represents the continuation of how to write additionalOutput. - pull(OutputBuffer<?>) - Method in class swim.codec.DynamicEncoder
- pull(OutputBuffer<?>) - Method in class swim.codec.Encoder
-
Incrementally encodes as much
outputbuffer data as possible, and returns anotherEncoderthat represents the continuation of how to write additional buffer data. - pull(OutputBuffer<?>) - Method in class swim.codec.Writer
R
- read(Decoder<O>, InputStream) - Static method in class swim.codec.Binary
- read(Parser<O>, InputStream) - Static method in class swim.codec.Utf8
- red(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII red foreground color escape code to
output, ifoutput.settings().isStyled()istrue. - redBold(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII bold red foreground color escape code to
output, ifoutput.settings().isStyled()istrue. - remaining() - Method in class swim.codec.InputBuffer
- remaining() - Method in class swim.codec.OutputBuffer
- replacement() - Static method in class swim.codec.UtfErrorMode
-
Returns a
UtfErrorModethat substitutes invalid code unit sequences with the replacement character (U+FFFD). - replacement(int) - Static method in class swim.codec.UtfErrorMode
-
Returns a
UtfErrorModethat substitutes invalid code unit sequences with the givenreplacementChar. - replacementChar() - Method in class swim.codec.UtfErrorMode
-
Returns the Unicode code point of the replacement character to substitute for invalid code unit sequences.
- replacementNonZero() - Static method in class swim.codec.UtfErrorMode
-
Returns a
UtfErrorModethat substitutes invalid code unit sequences with the replacement character (U+FFFD), and aborts decoding with an error whenNULbytes are encountered. - replacementNonZero(int) - Static method in class swim.codec.UtfErrorMode
-
Returns a
UtfErrorModethat substitutes invalid code unit sequences with the givenreplacementChar, and aborts decoding with an error whenNULbytes are encountered. - reset(Output<?>) - Static method in class swim.codec.OutputStyle
S
- seek(Mark) - Method in class swim.codec.Input
-
Returns an
Inputequivalent to thisInput, but repositioned to the givenmark. - seek(Mark) - Method in class swim.codec.InputBuffer
- set(int, int) - Method in class swim.codec.InputBuffer
- set(int, int) - Method in class swim.codec.OutputBuffer
- settings() - Method in class swim.codec.Input
-
Returns the
InputSettingsused to configure the behavior of input consumers that read from thisInput. - settings() - Method in class swim.codec.Output
-
Returns the
OutputSettingsused to configure the behavior of output producers that write to thisOutput. - settings(InputSettings) - Method in class swim.codec.Input
-
Returns an
Inputequivalent to thisInput, but with the given inputsettings. - settings(InputSettings) - Method in class swim.codec.InputBuffer
- settings(OutputSettings) - Method in class swim.codec.Output
-
Updates the
settingsassociated with thisOutput. - settings(OutputSettings) - Method in class swim.codec.OutputBuffer
- severity() - Method in class swim.codec.Diagnostic
-
Returns the level of importance of this diagnostic.
- shift(Mark) - Method in class swim.codec.Mark
- shift(Mark) - Method in class swim.codec.Span
- shift(Mark) - Method in class swim.codec.Tag
-
Returns the position of this
Tagrelative to the givenmark. - sizeOf(int) - Static method in class swim.codec.Utf8
-
Returns the number of bytes in the UTF-8 encoding of the Unicode code point
c; returns the size of the Unicode replacement character (U+FFFD) for surrogates and invalid code points. - sizeOf(int, UtfErrorMode) - Static method in class swim.codec.Utf8
-
Returns the number of bytes in the UTF-8 encoding of the Unicode code point
c, handling invalid code unit sequences according to theerrorModepolicy. - sizeOf(String) - Static method in class swim.codec.Utf8
-
Returns the number of bytes in the UTF-8 encoding the given
string, assuming the Unicode replacement character (U+FFFD) replaces unpaired surrogates and invalid code points. - sizeOf(String, UtfErrorMode) - Static method in class swim.codec.Utf8
-
Returns the number of bytes in the UTF-8 encoding the given
string, handling invalid code unit sequences according to theerrorModepolicy. - Span - Class in swim.codec
-
Description of a source range, identified by a closed interval between start and end
marks. - standard() - Static method in class swim.codec.Base64
-
Returns the
Base64encoding with the standard alphabet. - standard() - Static method in class swim.codec.InputSettings
-
Returns
InputSettingsconfigured to include diagnostic metadata in generated output. - standard() - Static method in class swim.codec.OutputSettings
-
Returns
OutputSettingsconfigured with the system line separator, pretty printing disabled, and styling disabled. - standard(boolean) - Static method in class swim.codec.Base64
-
Returns the
Base64encoding with the standard alphabet, and required padding, ifisPaddedistrue. - start() - Method in class swim.codec.Mark
- start() - Method in class swim.codec.Span
- start() - Method in class swim.codec.Tag
-
Returns the first source position covered by this
Tag. - step() - Method in class swim.codec.Input
-
Returns an
Inputequivalent to thisInput, but advanced to the next token. - step() - Method in class swim.codec.InputBuffer
- step(int) - Method in class swim.codec.InputBuffer
- step(int) - Method in class swim.codec.OutputBuffer
- stringInput(String) - Static method in class swim.codec.Unicode
- stringOutput() - Static method in class swim.codec.Unicode
-
Returns a new
Outputthat buffers Unicode code points. - stringOutput(int) - Static method in class swim.codec.Unicode
- stringOutput(int, OutputSettings) - Static method in class swim.codec.Unicode
- stringOutput(String) - Static method in class swim.codec.Unicode
-
Returns a new
Outputthat appends Unicode code points to the givenstring. - stringOutput(StringBuilder) - Static method in class swim.codec.Unicode
-
Returns a new
Outputthat writes Unicode code points to the given stringbuilder. - stringOutput(StringBuilder, OutputSettings) - Static method in class swim.codec.Unicode
-
Returns a new
Outputthat writes Unicode code points to the given stringbuilder, using the given outputsettings. - stringOutput(String, OutputSettings) - Static method in class swim.codec.Unicode
-
Returns a new
Outputthat appends Unicode code points to the givenstring, using the given outputsettings. - stringOutput(OutputSettings) - Static method in class swim.codec.Unicode
-
Returns a new
Outputthat buffers Unicode code points, using the given outputsettings. - stringParser() - Static method in class swim.codec.Unicode
- stringParser() - Static method in class swim.codec.Utf8
- stringParser(StringBuilder) - Static method in class swim.codec.Unicode
- stringParser(StringBuilder) - Static method in class swim.codec.Utf8
- stringParser(StringBuilder, UtfErrorMode) - Static method in class swim.codec.Utf8
- stringParser(UtfErrorMode) - Static method in class swim.codec.Utf8
- stringWriter() - Static method in class swim.codec.Unicode
- stringWriter(O) - Static method in class swim.codec.Unicode
- stringWriter(O) - Static method in class swim.codec.Utf8
- stringWriter(O, UtfErrorMode) - Static method in class swim.codec.Utf8
- stripped() - Static method in class swim.codec.InputSettings
-
Returns
InputSettingsconfigured to not include diagnostic metadata in generated output. - styled() - Static method in class swim.codec.OutputSettings
-
Returns
OutputSettingsconfigured with the system line separator, pretty printing disabled, and styling enabled. - swim.codec - module swim.codec
-
Incremental I/O; functional parsers and writers; display, debug, and diagnostic formatters; and Unicode and binary codecs.
- swim.codec - package swim.codec
-
Incremental I/O; functional parsers and writers; display, debug, and diagnostic formatters; and Unicode and binary codecs.
T
- tag() - Method in class swim.codec.Diagnostic
-
Returns the annotated location
Tagin theinputto which this diagnostic is attached. - Tag - Class in swim.codec
-
Description of a source location.
- Tag() - Constructor for class swim.codec.Tag
- toString() - Method in class swim.codec.Diagnostic
- toString() - Method in class swim.codec.InputSettings
- toString() - Method in class swim.codec.Mark
- toString() - Method in class swim.codec.OutputSettings
- toString() - Method in exception swim.codec.ParserException
- toString() - Method in class swim.codec.Span
- toString() - Method in class swim.codec.UtfErrorMode
- toString(OutputSettings) - Method in class swim.codec.Diagnostic
- trap() - Method in class swim.codec.Decoder
-
Returns the decode error.
- trap() - Method in class swim.codec.DynamicDecoder
- trap() - Method in class swim.codec.DynamicEncoder
- trap() - Method in class swim.codec.Encoder
-
Returns the encode error.
- trap() - Method in class swim.codec.Input
-
Returns the input error.
- trap() - Method in class swim.codec.Output
-
Returns the output error.
- trap() - Method in class swim.codec.Parser
-
Returns the parse error.
- trap() - Method in class swim.codec.Writer
-
Returns the write error.
U
- unexpected(Input) - Static method in class swim.codec.Diagnostic
- unexpected(Input, String) - Static method in class swim.codec.Diagnostic
- unexpected(Input, String, Diagnostic) - Static method in class swim.codec.Diagnostic
- unexpected(Input, Diagnostic) - Static method in class swim.codec.Diagnostic
- unexpected(Input, Severity) - Static method in class swim.codec.Diagnostic
- unexpected(Input, Severity, String) - Static method in class swim.codec.Diagnostic
- unexpected(Input, Severity, String, Diagnostic) - Static method in class swim.codec.Diagnostic
- unexpected(Input, Severity, Diagnostic) - Static method in class swim.codec.Diagnostic
- Unicode - Class in swim.codec
- union(Tag) - Method in class swim.codec.Mark
- union(Tag) - Method in class swim.codec.Span
- union(Tag) - Method in class swim.codec.Tag
-
Returns a
Tagthat includes all source locations covered by both this tag, and someothertag. - uppercase() - Static method in class swim.codec.Base16
-
Returns the
Base16encoding with uppercase alphanumeric digits. - url() - Static method in class swim.codec.Base64
-
Returns the
Base64encoding with the url and filename safe alphabet. - url(boolean) - Static method in class swim.codec.Base64
-
Returns the
Base64encoding with the url and filename safe alphabet, and required padding, ifisPaddedistrue. - urlUnpadded() - Static method in class swim.codec.Base64
- Utf8 - Class in swim.codec
- UtfErrorMode - Class in swim.codec
-
Unicode transformation format error handling mode.
W
- write(int) - Method in class swim.codec.Output
-
Writes a single
tokento the stream, if thisOutputis in the cont state. - write(int) - Method in class swim.codec.OutputBuffer
- write(String) - Method in class swim.codec.Output
-
Writes the code points of the given
string. - write(String) - Method in class swim.codec.OutputBuffer
- write(ReadableByteChannel) - Method in class swim.codec.OutputBuffer
- writeByteArray(byte[], Output<?>) - Method in class swim.codec.Base16
-
Writes the base-16 (hexadecimal) encoding of the
inputbyte array to theoutput, returning aWritercontinuation that knows how to write any remaining output that couldn't be immediately generated. - writeByteArray(byte[], Output<?>) - Method in class swim.codec.Base64
-
Writes the base-64 (7-bit ASCII) encoding of the
inputbyte array to theoutput, returning aWritercontinuation that knows how to write any remaining output that couldn't be immediately generated. - writeByteArray(byte[], Output<?>) - Static method in class swim.codec.Binary
- writeByteBuffer(ByteBuffer, Output<?>) - Method in class swim.codec.Base16
-
Writes the base-16 (hexadecimal) encoding of the
inputbyte buffer to theoutput, returning aWritercontinuation that knows how to write any remaining output that couldn't be immediately generated. - writeByteBuffer(ByteBuffer, Output<?>) - Method in class swim.codec.Base64
-
Writes the base-64 (7-bit ASCII) encoding of the
inputbyte buffer to theoutput, returning aWritercontinuation that knows how to write any remaining output that couldn't be immediately generated. - writeByteBuffer(ByteBuffer, Output<?>) - Static method in class swim.codec.Binary
- writeDouble(double, Output<?>) - Static method in class swim.codec.Base10
-
Writes the base-10 (decimal) encoding of the
inputvalue to theoutput, returning aWritercontinuation that knows how to write any remaining output that couldn't be immediately generated. - writeEncoded(Writer<I, O>, Output<?>) - Static method in class swim.codec.Utf8
- writeEncoded(Writer<I, O>, Output<?>, UtfErrorMode) - Static method in class swim.codec.Utf8
- writeFloat(float, Output<?>) - Static method in class swim.codec.Base10
-
Writes the base-10 (decimal) encoding of the
inputvalue to theoutput, returning aWritercontinuation that knows how to write any remaining output that couldn't be immediately generated. - writeInt(int, Output<?>) - Static method in class swim.codec.Base10
-
Writes the base-10 (decimal) encoding of the
inputvalue to theoutput, returning aWritercontinuation that knows how to write any remaining output that couldn't be immediately generated. - writeInt(int, Output<?>) - Method in class swim.codec.Base16
- writeInt(int, Output<?>, int) - Method in class swim.codec.Base16
- writeIntLiteral(int, Output<?>) - Method in class swim.codec.Base16
- writeIntLiteral(int, Output<?>, int) - Method in class swim.codec.Base16
- writeln() - Method in class swim.codec.Output
-
Writes the code points of the
settings'line separator. - writeln() - Method in class swim.codec.OutputBuffer
- writeln(String) - Method in class swim.codec.Output
-
Writes the code points of the given
string, followed by the code points of thesettings'line separator. - writeln(String) - Method in class swim.codec.OutputBuffer
- writeLong(long, Output<?>) - Static method in class swim.codec.Base10
-
Writes the base-10 (decimal) encoding of the
inputvalue to theoutput, returning aWritercontinuation that knows how to write any remaining output that couldn't be immediately generated. - writeLong(long, Output<?>) - Method in class swim.codec.Base16
- writeLong(long, Output<?>, int) - Method in class swim.codec.Base16
- writeLongLiteral(long, Output<?>) - Method in class swim.codec.Base16
- writeLongLiteral(long, Output<?>, int) - Method in class swim.codec.Base16
- writeQuantum(int, int, int, int, Output<?>) - Method in class swim.codec.Base64
-
Decodes the base-64 digits
c1,c2,c3, andc4, and writes the 8 to 24 bit quantity they represent to the givenoutput. - writeQuantum(int, int, Output<?>) - Static method in class swim.codec.Base16
-
Decodes the base-16 digits
c1andc2, and writes the 8-bit quantity they represent to the givenoutput. - Writer<I,O> - Class in swim.codec
-
Continuation of how to write subsequent
Outputtokens to a stream. - Writer() - Constructor for class swim.codec.Writer
- WriterException - Exception in swim.codec
-
Thrown when a
Writerattempts to write invalid syntax. - WriterException() - Constructor for exception swim.codec.WriterException
- WriterException(String) - Constructor for exception swim.codec.WriterException
- WriterException(String, Throwable) - Constructor for exception swim.codec.WriterException
- WriterException(Throwable) - Constructor for exception swim.codec.WriterException
- writeString(Object, Output<?>) - Static method in class swim.codec.Unicode
- writeString(O, Output<?>) - Static method in class swim.codec.Utf8
- writeString(O, Output<?>, UtfErrorMode) - Static method in class swim.codec.Utf8
Y
- yellow(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII yellow foreground color escape code to
output, ifoutput.settings().isStyled()istrue. - yellowBold(Output<?>) - Static method in class swim.codec.OutputStyle
-
Writes the ASCII bold yellow foreground color escape code to
output, ifoutput.settings().isStyled()istrue.
Z
- zero() - Static method in class swim.codec.Mark
-
Returns a
Markat byte offset0, line1, and column1, with no attached note.
All Classes All Packages