|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
interface ClassSerialization
Controls how to serialize class descriptors.
| Method Summary | |
|---|---|
void |
checkInstantiable(ObjectStreamClass classDesc)
Checks if it is permitted to instantiate an instance of the specified class. |
ObjectStreamClass |
readClassDescriptor(ObjectInputStream in)
Reads a class descriptor from an object input stream. |
void |
writeClassDescriptor(ObjectStreamClass classDesc,
ObjectOutputStream out)
Writes a class descriptor to an object output stream. |
| Method Detail |
|---|
void writeClassDescriptor(ObjectStreamClass classDesc,
ObjectOutputStream out)
throws IOException
classDesc - the class descriptorout - the object output stream
IOException - if an I/O error occurs
void checkInstantiable(ObjectStreamClass classDesc)
throws IOException
classDesc - the class descriptor
IOException - if it is not permitted to create instances of the
specified class
ObjectStreamClass readClassDescriptor(ObjectInputStream in)
throws ClassNotFoundException,
IOException
in - the object input stream
ClassNotFoundException - if a class referred to by the class
descriptor representation cannot be found
IOException - if an I/O error occurs
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||