Package org.apache.commons.codec.binary
Class BaseNCodecInputStream.AbstracBuilder<T,C extends BaseNCodec,B extends AbstractBaseNCodecStreamBuilder<T,C,B>>
java.lang.Object
org.apache.commons.codec.binary.AbstractBaseNCodecStreamBuilder<T,C,B>
org.apache.commons.codec.binary.BaseNCodecInputStream.AbstracBuilder<T,C,B>
- Type Parameters:
T- the input stream type to build.C- ABaseNCodecsubclass.B- the builder subclass.
- All Implemented Interfaces:
Supplier<T>
- Direct Known Subclasses:
Base16InputStream.Builder,Base32InputStream.Builder,Base64InputStream.Builder
- Enclosing class:
BaseNCodecInputStream<C extends BaseNCodec,T extends BaseNCodecInputStream<C, T, B>, B extends BaseNCodecInputStream.AbstracBuilder<T, C, B>>
public abstract static class BaseNCodecInputStream.AbstracBuilder<T,C extends BaseNCodec,B extends AbstractBaseNCodecStreamBuilder<T,C,B>>
extends AbstractBaseNCodecStreamBuilder<T,C,B>
Builds input stream instances in
BaseNCodec format.- Since:
- 1.20.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InputStreamGets the input stream.setInputStream(InputStream inputStream) Sets the input stream.Methods inherited from class org.apache.commons.codec.binary.AbstractBaseNCodecStreamBuilder
getBaseNCodec, getEncode, newBaseNCodec, setBaseNCodec, setEncode
-
Constructor Details
-
AbstracBuilder
public AbstracBuilder()Constructs a new instance.
-
-
Method Details
-
getInputStream
Gets the input stream.- Returns:
- the input stream.
-
setInputStream
Sets the input stream.- Parameters:
inputStream- the input stream.- Returns:
thisinstance.
-