public class JSerializedObject extends AbstractJResourceFile
| Constructor and Description |
|---|
JSerializedObject(String name,
Serializable obj) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
build(OutputStream os)
called by
JPackage to produce the file image. |
isResource, namepublic JSerializedObject(@Nonnull String name, @Nonnull Serializable obj) throws IOException
name - Nameobj - Serializable objectIOException - If the serialization fails, this exception is thrownprotected void build(@Nonnull OutputStream os) throws IOException
AbstractJResourceFileJPackage to produce the file image.build in class AbstractJResourceFileos - OutputStream to write toIOException - If writing on the stream throws an errorCopyright © 2013–2015 Philip Helger. All rights reserved.