public class JSerializedObject extends JResourceFile
Constructor | Description |
---|---|
JSerializedObject(java.lang.String name,
java.lang.Object obj) |
Modifier and Type | Method | 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
Copyright © 2018 Oracle Corporation. All rights reserved.