|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.codemodel.JResourceFile
com.sun.codemodel.fmt.JSerializedObject
public class JSerializedObject
A simple class that takes an object and serializes it into a file in the parent package with the given name.
| Constructor Summary | |
|---|---|
JSerializedObject(java.lang.String name,
java.lang.Object obj)
|
|
| Method Summary | |
|---|---|
protected void |
build(java.io.OutputStream os)
called by JPackage to serialize the object |
| Methods inherited from class com.sun.codemodel.JResourceFile |
|---|
isResource, name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSerializedObject(java.lang.String name,
java.lang.Object obj)
throws java.io.IOException
java.io.IOException - If the serialization fails, this exception is thrown| Method Detail |
|---|
protected void build(java.io.OutputStream os)
throws java.io.IOException
build in class JResourceFilejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||