public class EncoderGroupBuilder extends Object
EncoderGroup.| Constructor and Description |
|---|
EncoderGroupBuilder()
Create an empty encoder group builder.
|
EncoderGroupBuilder(EncoderGroup copyFrom)
Clone an existing encoder group builder.
|
| Modifier and Type | Method and Description |
|---|---|
EncoderGroupBuilder |
append(Class<?>... e)
Registers the specified encoders with this group.
|
EncoderGroupBuilder |
append(Encoder... e)
Registers the specified encoders with this group.
|
EncoderGroupBuilder |
append(EncoderGroup eg)
Registers the encoders in the specified group with this group.
|
EncoderGroupBuilder |
append(List<Encoder> e)
Registers the specified encoders with this group.
|
EncoderGroup |
build()
Creates a new
EncoderGroup object using a snapshot of the settings defined in this builder. |
public EncoderGroupBuilder()
public EncoderGroupBuilder(EncoderGroup copyFrom)
copyFrom - The encoder group that we're copying settings and encoders from.public EncoderGroupBuilder append(Class<?>... e)
e - The encoders to append to this group.public EncoderGroupBuilder append(Encoder... e)
e - The encoders to append to this group.public EncoderGroupBuilder append(List<Encoder> e)
e - The encoders to append to this group.public EncoderGroupBuilder append(EncoderGroup eg)
eg - The encoders to append to this group.public EncoderGroup build()
EncoderGroup object using a snapshot of the settings defined in this builder.
This method can be called multiple times to produce multiple encoder groups.
EncoderGroup object.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.