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, name
public 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 JResourceFile
IOException
Copyright © 2018 Oracle Corporation. All rights reserved.