Package org.apache.commons.codec.binary
Class BaseNCodecOutputStream.AbstractBuilder<T,C extends BaseNCodec,B extends BaseNCodecOutputStream.AbstractBuilder<T,C,B>>
java.lang.Object
org.apache.commons.codec.binary.AbstractBaseNCodecStreamBuilder<T,C,B>
org.apache.commons.codec.binary.BaseNCodecOutputStream.AbstractBuilder<T,C,B>
- Type Parameters:
T- the output stream type to build.C- ABaseNCodecsubclass.B- the builder subclass.
- All Implemented Interfaces:
Supplier<T>
- Direct Known Subclasses:
Base16OutputStream.Builder,Base32OutputStream.Builder,Base64OutputStream.Builder
- Enclosing class:
BaseNCodecOutputStream<C extends BaseNCodec,T extends BaseNCodecOutputStream<C, T, B>, B extends BaseNCodecOutputStream.AbstractBuilder<T, C, B>>
public abstract static class BaseNCodecOutputStream.AbstractBuilder<T,C extends BaseNCodec,B extends BaseNCodecOutputStream.AbstractBuilder<T,C,B>>
extends AbstractBaseNCodecStreamBuilder<T,C,B>
Builds output stream instances in
BaseNCodec format.- Since:
- 1.20.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OutputStreamGets the input stream.setOutputStream(OutputStream outputStream) Sets the input stream.Methods inherited from class org.apache.commons.codec.binary.AbstractBaseNCodecStreamBuilder
getBaseNCodec, getEncode, newBaseNCodec, setBaseNCodec, setEncode
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()Constructs a new instance.
-
-
Method Details
-
getOutputStream
Gets the input stream.- Returns:
- the input stream.
-
setOutputStream
Sets the input stream.- Parameters:
outputStream- the input stream.- Returns:
thisinstance.
-