| Package | Description |
|---|---|
| io.jstuff.pipeline |
Pipeline conversion library for Java
|
| io.jstuff.pipeline.base64 | |
| io.jstuff.pipeline.buffer |
Buffering classes for pipelines
|
| io.jstuff.pipeline.codec |
UTF-16 encoding and decoding classes
|
| io.jstuff.pipeline.html | |
| io.jstuff.pipeline.uri | |
| io.jstuff.pipeline.xml | |
| io.jstuff.pipeline.xxml |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IntObjectPipeline<E,R>
A pipeline that takes integer values and emits object values.
|
interface |
IntPipeline<R>
A pipeline that accepts and emits integer values.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractIntAcceptor<R>
Abstract implementation of
IntAcceptor. |
class |
AbstractIntObjectPipeline<E,R>
Abstract base class for
IntObjectPipeline implementations. |
class |
AbstractIntPipeline<R>
Abstract base class for
IntPipeline implementations. |
class |
AppendableAcceptor<R> |
class |
ByteArrayAcceptor |
class |
IntCounter |
class |
IntFilter<R> |
class |
LinePipeline<R>
A pipeline that accepts characters and emits
Strings, using LF or CR-LF as line separators. |
class |
StringAcceptor
|
| Modifier and Type | Method and Description |
|---|---|
IntAcceptor<? extends R> |
AbstractObjectIntPipeline.getDownstream()
Get the downstream
IntAcceptor |
IntAcceptor<? extends R> |
AbstractIntPipeline.getDownstream()
Get the downstream
IntAcceptor |
| Modifier and Type | Method and Description |
|---|---|
static void |
Pipelines.acceptInt(IntAcceptor<?> acceptor,
int i) |
static <R> R |
Pipelines.process(File file,
IntAcceptor<R> downstream) |
static <R> R |
Pipelines.process(InputStream inputStream,
IntAcceptor<R> downstream) |
static <R> R |
Pipelines.process(Reader reader,
IntAcceptor<R> downstream) |
| Constructor and Description |
|---|
AbstractIntPipeline(IntAcceptor<? extends R> downstream)
Construct an
AbstractIntPipeline with the given downstream IntAcceptor. |
AbstractObjectIntPipeline(IntAcceptor<? extends R> downstream)
Construct an
AbstractObjectIntPipeline with the given downstream IntAcceptor. |
IntFilter(IntAcceptor<? extends R> downstream,
IntPredicate predicate)
Construct an
IntFilter with the given downstream IntAcceptor. |
| Modifier and Type | Class and Description |
|---|---|
class |
Base64Decoder<R>
Base64 decoder - decode text encoded in Base 64.
|
class |
Base64Encoder<R>
Base64 encoder - encode bytes using Base 64.
|
| Constructor and Description |
|---|
Base64Decoder(IntAcceptor<? extends R> downstream) |
Base64Decoder(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
Base64Encoder(IntAcceptor<? extends R> downstream) |
Base64Encoder(IntAcceptor<? extends R> downstream,
boolean urlSafe) |
Base64Encoder(IntAcceptor<? extends R> downstream,
boolean urlSafe,
ErrorStrategy errorStrategy) |
Base64Encoder(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
| Constructor and Description |
|---|
ByteArrayPipeline(IntAcceptor<? extends R> downstream)
Construct a
ByteArrayPipeline with the given downstream IntAcceptor. |
ByteBufferPipeline(IntAcceptor<? extends R> downstream)
Construct a
ByteBufferPipeline with the given downstream IntAcceptor. |
CharBufferPipeline(IntAcceptor<? extends R> downstream)
Construct a
ByteBufferPipeline with the given downstream IntAcceptor. |
CharSequencePipeline(IntAcceptor<? extends R> downstream)
Construct a
CharSequencePipeline with the given downstream IntAcceptor. |
| Modifier and Type | Class and Description |
|---|---|
class |
ASCII_UTF16<R>
A decoder
IntPipeline to convert ASCII encoding to UTF-16 data. |
class |
CodePoint_UTF16<R>
An encoder
IntPipeline to convert Unicode code points to UTF-16. |
class |
CodePoint_UTF8<R>
An encoder
IntPipeline to convert Unicode code points to UTF-8. |
class |
DecodingPipeline<R>
An
IntPipeline to convert one-to-one mapping character encodings to Unicode code points. |
class |
DynamicDecoder<R>
A dynamic decoding pipeline which attempts to determine the encoding of the data from its content.
|
class |
EncoderBase<R>
Base class for encoders.
|
class |
EncodingPipeline<R>
A pipeline to convert 8-bit character sets based on a reverse mapping table.
|
class |
ErrorStrategyBase<R>
Base class for encoder and decoder classes to implement the error strategy.
|
class |
ISO8859_1_UTF16<R>
A decoder
IntPipeline to convert ISO-8859-1 encoding to UTF-16 data. |
class |
ISO8859_15_UTF16<R>
A decoder
IntPipeline to convert ISO-8859-15 encoding to UTF-16 data. |
class |
SwitchableDecoder<R>
A switchable decoder that allows the encoding of an input stream to be determined from the data in the early part of
the stream.
|
class |
UTF16_ASCII<R>
An encoder
IntPipeline to convert UTF-16 data to ASCII encoding. |
class |
UTF16_CodePoint<R>
A decoder
IntPipeline to convert UTF-16 to Unicode code points. |
class |
UTF16_ISO8859_1<R>
An encoder
IntPipeline to convert UTF-16 data to ISO-8859-1 encoding. |
class |
UTF16_ISO8859_15<R>
An encoder
IntPipeline to convert UTF-16 data to ISO-8859-15 encoding. |
class |
UTF16_Windows1252<R>
An encoder
IntPipeline to convert UTF-16 data to Windows-1252 encoding. |
class |
UTF16BE_UTF16<R>
A converter
IntPipeline to convert UTF-16BE encoding to UTF-16 encoding. |
class |
UTF16LE_UTF16<R>
A converter
IntPipeline to convert UTF-16LE encoding to UTF-16 encoding. |
class |
UTF32BE_CodePoint<R>
A decoder
IntPipeline to convert UTF-32BE encoding to Unicode code points. |
class |
UTF32LE_CodePoint<R>
A decoder
IntPipeline to convert UTF-32BE encoding to Unicode code points. |
class |
UTF8_CodePoint<R>
A decoder
IntPipeline to convert UTF-8 to Unicode code points. |
class |
UTF8_UTF16<R>
A decoder
IntPipeline to convert UTF-8 to UTF-16. |
class |
Windows1252_UTF16<R>
A decoder
IntPipeline to convert Windows-1252 encoding to UTF-16 data. |
| Modifier and Type | Field and Description |
|---|---|
protected IntAcceptor<? extends R> |
SwitchableDecoder.delegate |
| Modifier and Type | Method and Description |
|---|---|
static <R> AbstractIntPipeline<R> |
DecoderFactory.getDecoder(Charset charset,
IntAcceptor<? extends R> downstream)
Get a decoder pipeline for the given
Charset. |
static <R> AbstractIntPipeline<R> |
DecoderFactory.getDecoder(Charset charset,
IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy)
Get a decoder pipeline for the given
Charset. |
static <R> AbstractIntPipeline<R> |
DecoderFactory.getDecoder(String charsetName,
IntAcceptor<? extends R> downstream)
Get a decoder pipeline for the given character set name.
|
static <R> AbstractIntPipeline<R> |
DecoderFactory.getDecoder(String charsetName,
IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy)
Get a decoder pipeline for the given character set name.
|
static <R> AbstractIntPipeline<R> |
EncoderFactory.getEncoder(Charset charset,
IntAcceptor<? extends R> downstream)
Get an encoder pipeline for the given
Charset. |
static <R> AbstractIntPipeline<R> |
EncoderFactory.getEncoder(Charset charset,
IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy)
Get an encoder pipeline for the given
Charset. |
static <R> AbstractIntPipeline<R> |
EncoderFactory.getEncoder(String charsetName,
IntAcceptor<? extends R> downstream)
Get an encoder pipeline for the given character set name.
|
static <R> AbstractIntPipeline<R> |
EncoderFactory.getEncoder(String charsetName,
IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy)
Get an encoder pipeline for the given character set name.
|
void |
DynamicDecoder.switchTo(IntAcceptor<? extends R> delegate)
Switch to the specified delegate.
|
void |
SwitchableDecoder.switchTo(IntAcceptor<? extends R> delegate)
Switch to the specified delegate.
|
void |
DynamicReader.switchTo(IntAcceptor<? extends Void> delegate)
Switch to the specified delegate.
|
| Constructor and Description |
|---|
ASCII_UTF16(IntAcceptor<? extends R> downstream) |
ASCII_UTF16(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
CodePoint_UTF16(IntAcceptor<? extends R> downstream) |
CodePoint_UTF16(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
CodePoint_UTF8(IntAcceptor<? extends R> downstream) |
CodePoint_UTF8(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
DecodingPipeline(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy,
String table) |
DynamicDecoder(IntAcceptor<? extends R> downstream)
Construct a
DynamicDecoder with the specified downstream IntAcceptor. |
DynamicDecoder(IntAcceptor<? extends R> downstream,
Charset charset)
Construct a
DynamicDecoder with the specified downstream IntAcceptor, switching immediately to
the specified Charset if specified. |
EncoderBase(IntAcceptor<? extends R> downstream) |
EncodingPipeline(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy,
int[] reverseTable) |
ErrorStrategyBase(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
ISO8859_1_UTF16(IntAcceptor<? extends R> downstream) |
ISO8859_1_UTF16(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
ISO8859_15_UTF16(IntAcceptor<? extends R> downstream) |
ISO8859_15_UTF16(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
SwitchableDecoder(IntAcceptor<? extends R> downstream)
Construct a
SwitchableDecoder with the given downstream IntAcceptor. |
UTF16_ASCII(IntAcceptor<? extends R> downstream) |
UTF16_ASCII(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
UTF16_CodePoint(IntAcceptor<? extends R> downstream) |
UTF16_CodePoint(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
UTF16_ISO8859_1(IntAcceptor<? extends R> downstream) |
UTF16_ISO8859_1(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
UTF16_ISO8859_15(IntAcceptor<? extends R> downstream) |
UTF16_ISO8859_15(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
UTF16_Windows1252(IntAcceptor<? extends R> downstream) |
UTF16_Windows1252(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
UTF16BE_UTF16(IntAcceptor<? extends R> downstream) |
UTF16LE_UTF16(IntAcceptor<? extends R> downstream) |
UTF32BE_CodePoint(IntAcceptor<? extends R> downstream) |
UTF32LE_CodePoint(IntAcceptor<? extends R> downstream) |
UTF8_CodePoint(IntAcceptor<? extends R> downstream) |
UTF8_CodePoint(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
UTF8_UTF16(IntAcceptor<? extends R> downstream) |
UTF8_UTF16(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
Windows1252_UTF16(IntAcceptor<? extends R> downstream) |
Windows1252_UTF16(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
| Modifier and Type | Class and Description |
|---|---|
class |
HTMLDecoder<R>
HTML decoder - decode text encoded with HTML escaping.
|
class |
HTMLEncoder<R>
HTML encoder - encode text using HTML escaping.
|
| Constructor and Description |
|---|
HTMLDecoder(IntAcceptor<? extends R> downstream) |
HTMLEncoder(IntAcceptor<? extends R> downstream) |
| Modifier and Type | Class and Description |
|---|---|
class |
SchemaURIEncoder<R>
URI encoder for use with JSON Schema URI fragment - encode text using URI percent-encoding, leaving dollar sign
unencoded.
|
class |
URIDecoder<R>
URI decoder - decode text using URI percent-encoding.
|
class |
URIEncoder<R>
URI encoder - encode text using URI percent-encoding.
|
| Constructor and Description |
|---|
SchemaURIEncoder(IntAcceptor<? extends R> downstream) |
SchemaURIEncoder(IntAcceptor<? extends R> downstream,
boolean encodeSpaceAsPlus) |
URIDecoder(IntAcceptor<? extends R> downstream) |
URIDecoder(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
URIEncoder(IntAcceptor<? extends R> downstream) |
URIEncoder(IntAcceptor<? extends R> downstream,
boolean encodeSpaceAsPlus) |
| Modifier and Type | Class and Description |
|---|---|
class |
XMLDecoder<R>
XML decoder - decode text encoded with XML escaping.
|
class |
XMLEncoder<R>
XML encoder - encode text using XML escaping.
|
| Constructor and Description |
|---|
XMLDecoder(IntAcceptor<? extends R> downstream) |
XMLEncoder(IntAcceptor<? extends R> downstream) |
| Modifier and Type | Class and Description |
|---|---|
class |
DecoderBase<R>
Base class for XML and HTML decoders.
|
| Constructor and Description |
|---|
DecoderBase(MappingEntry[] table,
IntAcceptor<? extends R> downstream) |
Copyright © 2025. All rights reserved.