|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectpatterntesting.runtime.log.ObjectPlayer
public final class ObjectPlayer
This is the counterpart to ObjectRecorder class. It can be used to
replay recorded objects.
| Constructor Summary | |
|---|---|
ObjectPlayer(File logFile)
Instantiates a new object player. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Equals. |
Object |
getReturnValue(JoinPoint joinPoint)
Gets the return value for the given joinpoint. |
int |
hashCode()
Hash code. |
void |
load(File logFile)
If you want to use an always recored object log you can load it with this method. |
void |
load(InputStream istream)
If you want to use an always recored object log you can load it with this method. |
String |
toString()
To string. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectPlayer(File logFile)
throws IOException
logFile - the log file
IOException - Signals that an I/O exception has occurred.| Method Detail |
|---|
public Object getReturnValue(JoinPoint joinPoint)
joinPoint - the join point
public void load(File logFile)
throws IOException
logFile - the log file
IOException - Signals that an I/O exception has occurred.
public void load(InputStream istream)
throws IOException
istream - the istream
IOException - Signals that an I/O exception has occurred.public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class Objectobj - the obj
Object.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||