R
- The class of object which the serializer can serialize (what it requires).public class SerializationStreamProvider<R> extends Object implements StreamProvider
Constructor and Description |
---|
SerializationStreamProvider(Serializer<R,?> serializer,
R toSerialize)
The Constructor.
|
public SerializationStreamProvider(Serializer<R,?> serializer, R toSerialize)
serializer
- the serializer for converting the object into a stream of data.toSerialize
- the object to serialize.public InputStream getStream() throws IOException
getStream
in interface StreamProvider
IOException
Copyright © 2004–2022 XWiki. All rights reserved.