|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.io.TestScribable
public class TestScribable
This is a simple test object which creates a buffer of random data. When the data is saved some checksums are stored so that when the data is read back we can determine that it is exactly correct. This class is designed to test the archives.
| Constructor Summary | |
|---|---|
TestScribable()
|
|
TestScribable(int size)
|
|
| Method Summary | |
|---|---|
long |
getCheckSum()
|
void |
load(ScribeInputStream in)
|
void |
save(ScribeOutputStream out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestScribable(int size)
public TestScribable()
| Method Detail |
|---|
public long getCheckSum()
public void save(ScribeOutputStream out)
throws java.io.IOException
save in interface Scribablejava.io.IOException
public void load(ScribeInputStream in)
throws java.io.IOException
load in interface Scribablejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||