simtools.util.test
Class TestFileSerializer
java.lang.Object
simtools.util.test.TestFileSerializer
public class TestFileSerializer
- extends java.lang.Object
A FileSerializer test
- Author:
- cazenave_c
Method Summary |
static java.io.File |
getFile(java.lang.Class c)
|
static void |
main(java.lang.String[] args)
|
void |
read(java.lang.Class c,
java.io.ObjectInputStream io,
java.io.File referenceFile,
boolean noError)
|
void |
write(java.lang.Class c,
java.io.ObjectOutputStream oo,
java.io.File referenceFile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestFileSerializer
public TestFileSerializer(FileSerializer s)
write
public void write(java.lang.Class c,
java.io.ObjectOutputStream oo,
java.io.File referenceFile)
throws java.io.IOException
- Throws:
java.io.IOException
read
public void read(java.lang.Class c,
java.io.ObjectInputStream io,
java.io.File referenceFile,
boolean noError)
throws java.lang.ClassNotFoundException,
java.io.IOException
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
getFile
public static java.io.File getFile(java.lang.Class c)
main
public static void main(java.lang.String[] args)