org.mule.devkit.model.code.fmt
Class SerializedObject
java.lang.Object
org.mule.devkit.model.code.ResourceFile
org.mule.devkit.model.code.fmt.SerializedObject
public class SerializedObject
- extends ResourceFile
A simple class that takes an object and serializes it into a file
in the parent package with the given name.
|
Method Summary |
protected void |
build(OutputStream os)
called by Package to serialize the object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializedObject
public SerializedObject(String name,
Object obj)
throws IOException
- Throws:
IOException - If the serialization fails, this exception is thrown
build
protected void build(OutputStream os)
throws IOException
- called by Package to serialize the object
- Specified by:
build in class ResourceFile
- Throws:
IOException
Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.