Class PollingFile

    • Field Detail

      • doc

        org.jdom2.Document doc
      • root

        org.jdom2.Element root
    • Method Detail

      • prepare

        public void prepare()
        Initialize for writing information.

        This is followed by multiple "set" calls, then a "store"

      • store

        public void store​(java.io.File file)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • loadFile

        public void loadFile​(java.io.File f)
                      throws org.jdom2.JDOMException,
                             java.io.IOException
        Read in the file, and make available for examination.
        Parameters:
        f - the file to load.
        Throws:
        org.jdom2.JDOMException - other errors.
        java.io.IOException - error accessing file.
      • getTransmitters

        public void getTransmitters​(Engine engine)
        Get the transmitters from the file.
        Parameters:
        engine - a single engine.