|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.elib.serial.Reviver
Untamed: Used to parameterize an UnserializationStream
.
UnserializationStream will probably need more parameters, but we should add them as we find we need them, rather than create another subclass.
Likely additional parameters:
Constructor Summary | |
Reviver()
Enabled: |
Method Summary | |
UnserializationStream |
getUnserializationStream(InputStream inp)
Enabled: |
Object |
play(byte[] recording)
Enabled: |
Object |
playFile(File file)
Enabled: |
protected abstract Object |
substitute(Object ref)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Reviver()
Method Detail |
protected abstract Object substitute(Object ref)
ref
- The object that was reconstructed from the serialization
stream.
public UnserializationStream getUnserializationStream(InputStream inp) throws IOException
inp
-
IOException
public Object play(byte[] recording) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public Object playFile(File file) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |