|
spring-core | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Serializer<T>
A strategy interface for streaming an object to an OutputStream.
| Method Summary | |
|---|---|
void |
serialize(T object,
java.io.OutputStream outputStream)
Write an object of type T to the given OutputStream. |
| Method Detail |
|---|
void serialize(T object,
java.io.OutputStream outputStream)
throws java.io.IOException
Note: Implementations should not close the given OutputStream (or any decorators of that OutputStream) but rather leave this up to the caller.
object - the object to serializeoutputStream - the output stream
java.io.IOException - in case of errors writing to the stream
|
spring-core | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||