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