|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface AssertSerialization.Context
Interface for the serialization test context.
Method Summary | |
---|---|
java.io.Serializable |
createReference()
Create a reference object of the class to serialize. |
java.io.File |
getReferenceBaseDir()
Retrieve the base directory for the serialized object files. |
java.lang.Class |
getType()
Retrieve the type of the serialized class. |
void |
verify(java.lang.Object serialized,
long uid)
Verify the (de-)serialized object. |
Method Detail |
---|
void verify(java.lang.Object serialized, long uid)
serialized
- the object itselfuid
- the serialVersionUID
of the deserialized objectjava.io.Serializable createReference()
java.io.File getReferenceBaseDir()
serialVersionUID
. This id is used for the filename.
java.lang.Class getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |