public class JSerializedObject extends JResourceFile
| Constructor | Description |
|---|---|
JSerializedObject(String name,
Object obj) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
build(OutputStream os) |
called by JPackage to serialize the object
|
isResource, namepublic JSerializedObject(String name, Object obj) throws IOException
IOException - If the serialization fails, this exception is thrownprotected void build(OutputStream os) throws IOException
build in class JResourceFileIOExceptionCopyright © 2018 Oracle Corporation. All rights reserved.