public class MultiStandardizeSerializerStrategy extends Object implements NormalizerSerializerStrategy<MultiNormalizerStandardize>
MultiNormalizerStandardize
instances in single binary filesConstructor and Description |
---|
MultiStandardizeSerializerStrategy() |
Modifier and Type | Method and Description |
---|---|
NormalizerType |
getSupportedType()
Get the enum type of the supported normalizer
|
MultiNormalizerStandardize |
restore(InputStream stream)
Restore a MultiNormalizerStandardize that was previously serialized by this strategy
|
void |
write(MultiNormalizerStandardize normalizer,
OutputStream stream)
Serialize a MultiNormalizerStandardize to a output stream
|
public void write(@NonNull MultiNormalizerStandardize normalizer, @NonNull OutputStream stream) throws IOException
write
in interface NormalizerSerializerStrategy<MultiNormalizerStandardize>
normalizer
- the normalizerstream
- the output stream to write toIOException
public MultiNormalizerStandardize restore(@NonNull InputStream stream) throws IOException
restore
in interface NormalizerSerializerStrategy<MultiNormalizerStandardize>
stream
- the input stream to restore fromIOException
public NormalizerType getSupportedType()
NormalizerSerializerStrategy
getSupportedType
in interface NormalizerSerializerStrategy<MultiNormalizerStandardize>
Normalizer.getType()
Copyright © 2017. All rights reserved.