Venice 0.751beta

nz.org.venice.table
Class WatchScreenReader

java.lang.Object
  extended bynz.org.venice.table.WatchScreenReader

public class WatchScreenReader
extends java.lang.Object

This class parses watch screens written in XML format.

Author:
Andrew Leppard
See Also:
WatchScreen, WatchScreenWriter

Method Summary
static WatchScreen read(java.io.InputStream stream)
          Read and parse the watch screen in XML format from the input stream and return the watch screen object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

read

public static WatchScreen read(java.io.InputStream stream)
                        throws java.io.IOException,
                               WatchScreenParserException
Read and parse the watch screen in XML format from the input stream and return the watch screen object.

Parameters:
stream - the input stream containing the watch screen in XML format
Returns:
the watch screen
Throws:
java.io.IOException - if there was an I/O error reading from the stream.
WatchScreenParserException - if there was an error parsing the watch screen.

Venice 0.751beta