jmri.jmrit.display
Class BlockValueFile

java.lang.Object
  extended by jmri.jmrit.XmlFile
      extended by jmri.jmrit.display.BlockValueFile

public class BlockValueFile
extends XmlFile

Handle saving/restoring block value information to XML files. This class manipulates files conforming to the block_value DTD.

Author:
Dave Duchamp Copyright (C) 2008

Field Summary
 
Fields inherited from class jmri.jmrit.XmlFile
dtdLocation, xsltLocation
 
Constructor Summary
BlockValueFile()
           
 
Method Summary
 void readBlockValues()
           
 void writeBlockValues()
           
 
Methods inherited from class jmri.jmrit.XmlFile
addDefaultInfo, backupFileName, checkFile, dumpElement, ensurePrefsPresent, findFile, getRootViaURI, makeBackupFile, newDocument, prefsDir, reportError1, reportError2, revertBackupFile, rootFromFile, rootFromName, rootFromURL, userFileChooser, userFileChooser, userFileChooser, userFileChooser, userFileLocationDefault, writeXML, xmlDir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockValueFile

public BlockValueFile()
Method Detail

readBlockValues

public void readBlockValues()
                     throws org.jdom.JDOMException,
                            IOException
Throws:
org.jdom.JDOMException
IOException

writeBlockValues

public void writeBlockValues()
                      throws org.jdom.JDOMException,
                             IOException
Throws:
org.jdom.JDOMException
IOException


Copyright © 1997 - 2008 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: SourceForge_Logo