public class JSerializedObject extends JResourceFile
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
obj |
Constructor and Description |
---|
JSerializedObject(java.lang.String name,
java.lang.Object obj) |
Modifier and Type | Method and Description |
---|---|
protected void |
build(java.io.OutputStream os)
called by JPackage to serialize the object
|
isResource, name
public JSerializedObject(java.lang.String name, java.lang.Object obj) throws java.io.IOException
java.io.IOException
- If the serialization fails, this exception is thrownprotected void build(java.io.OutputStream os) throws java.io.IOException
build
in class JResourceFile
java.io.IOException