public class EncoderFactory extends Object
| Constructor and Description |
|---|
EncoderFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <R> AbstractIntPipeline<R> |
getEncoder(Charset charset,
IntAcceptor<? extends R> downstream)
Get an encoder pipeline for the given
Charset. |
static <R> AbstractIntPipeline<R> |
getEncoder(Charset charset,
IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy)
Get an encoder pipeline for the given
Charset. |
static <R> AbstractIntPipeline<R> |
getEncoder(String charsetName,
IntAcceptor<? extends R> downstream)
Get an encoder pipeline for the given character set name.
|
static <R> AbstractIntPipeline<R> |
getEncoder(String charsetName,
IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy)
Get an encoder pipeline for the given character set name.
|
public static <R> AbstractIntPipeline<R> getEncoder(String charsetName, IntAcceptor<? extends R> downstream, ErrorStrategy errorStrategy)
R - the pipeline result typecharsetName - the character set namedownstream - the downstream IntAcceptorerrorStrategy - the error strategy to be used on errorspublic static <R> AbstractIntPipeline<R> getEncoder(String charsetName, IntAcceptor<? extends R> downstream)
R - the pipeline result typecharsetName - the character set namedownstream - the downstream IntAcceptorpublic static <R> AbstractIntPipeline<R> getEncoder(Charset charset, IntAcceptor<? extends R> downstream, ErrorStrategy errorStrategy)
Charset.R - the pipeline result typecharset - the character set namedownstream - the downstream IntAcceptorerrorStrategy - the error strategy to be used on errorspublic static <R> AbstractIntPipeline<R> getEncoder(Charset charset, IntAcceptor<? extends R> downstream)
Charset.R - the pipeline result typecharset - the character set namedownstream - the downstream IntAcceptorCopyright © 2025. All rights reserved.