Interface Codec.Builder
- Enclosing interface:
- Codec
public static interface Codec.Builder
Builder interface for creating immutable
Codec instances.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theCodecinstance.Sets the name of the codec.parameters(CodecParameters parameters) Sets the parameters associated with the codec.
-
Method Details
-
name
Sets the name of the codec.- Parameters:
name- the name of the codec.- Returns:
- this Builder instance.
-
parameters
Sets the parameters associated with the codec.- Parameters:
parameters- the codec parameters.- Returns:
- this Builder instance.
-
build
Codec build()Builds theCodecinstance.- Returns:
- an immutable
Codecinstance.
-