|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.util.jester.EventWriter
public class EventWriter
EventParser parses an XML file representing a stream of AWT input events into an array of InputEvent objects.
EventParser
Constructor Summary | |
---|---|
EventWriter()
|
Method Summary | |
---|---|
static void |
main(String[] args)
Simple test of this class. |
void |
writeEvents(InputEvent[] events,
Writer writer)
Write the given stream of input events out to the given writer. |
void |
writeModel(Object model,
Writer writer)
Write the given stream of input events out to the given writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventWriter()
Method Detail |
---|
public void writeModel(Object model, Writer writer) throws IOException
writeModel
in interface ModelWriter
IOException
public void writeEvents(InputEvent[] events, Writer writer) throws IOException
IOException
public static void main(String[] args) throws Exception
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |