Venice 0.751beta

nz.org.venice.prefs.settings
Class ModuleFrameSettingsReader

java.lang.Object
  extended bynz.org.venice.prefs.settings.ModuleFrameSettingsReader

public class ModuleFrameSettingsReader
extends java.lang.Object

This class parses ModuleFrameSettings written in XML format.

Author:
Mark Hummel
See Also:
ModuleFrame, ModuleFrameSettingsWriter

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

Method Detail

read

public static ModuleFrameSettings read(java.io.InputStream stream)
                                throws java.io.IOException,
                                       ModuleSettingsParserException
Read and parse the moduleframe settings in XML format from the input stream and return the moduleframe settings object.

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

Venice 0.751beta