public interface NormalizerSerializerStrategy<T extends Normalizer>
| Modifier and Type | Method and Description |
|---|---|
NormalizerType |
getSupportedType()
Get the enum opType of the supported normalizer
|
T |
restore(InputStream stream)
Restore a normalizer that was previously serialized by this strategy
|
void |
write(T normalizer,
OutputStream stream)
Serialize a normalizer to a output stream
|
void write(T normalizer, OutputStream stream) throws IOException
normalizer - the normalizerstream - the output stream to write toIOExceptionT restore(InputStream stream) throws IOException
stream - the stream to read serialized data fromIOExceptionNormalizerType getSupportedType()
Normalizer.getType()Copyright © 2021. All rights reserved.