public class StandardizeSerializerStrategy extends Object implements NormalizerSerializerStrategy<NormalizerStandardize>
| Constructor and Description |
|---|
StandardizeSerializerStrategy() |
| Modifier and Type | Method and Description |
|---|---|
NormalizerType |
getSupportedType()
Get the enum opType of the supported normalizer
|
NormalizerStandardize |
restore(@NonNull InputStream stream)
Restore a normalizer that was previously serialized by this strategy
|
void |
write(@NonNull NormalizerStandardize normalizer,
@NonNull OutputStream stream)
Serialize a normalizer to a output stream
|
public void write(@NonNull
@NonNull NormalizerStandardize normalizer,
@NonNull
@NonNull OutputStream stream)
throws IOException
NormalizerSerializerStrategywrite in interface NormalizerSerializerStrategy<NormalizerStandardize>normalizer - the normalizerstream - the output stream to write toIOExceptionpublic NormalizerStandardize restore(@NonNull @NonNull InputStream stream) throws IOException
NormalizerSerializerStrategyrestore in interface NormalizerSerializerStrategy<NormalizerStandardize>stream - the stream to read serialized data fromIOExceptionpublic NormalizerType getSupportedType()
NormalizerSerializerStrategygetSupportedType in interface NormalizerSerializerStrategy<NormalizerStandardize>Normalizer.getType()Copyright © 2021. All rights reserved.