public class SerializedObject extends ResourceFile
Constructor and Description |
---|
SerializedObject(String name,
Object obj) |
Modifier and Type | Method and Description |
---|---|
protected void |
build(OutputStream os)
called by Package to serialize the object
|
isResource, name
public SerializedObject(String name, Object obj) throws IOException
IOException
- If the serialization fails, this exception is thrownprotected void build(OutputStream os) throws IOException
build
in class ResourceFile
IOException
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.