public class JSerializedObject extends JResourceFile
Constructor and Description |
---|
JSerializedObject(String name,
Object obj) |
Modifier and Type | Method and 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 © 2019 JBoss by Red Hat. All rights reserved.