Class PollingFile

    • 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 JDOMException,
                             java.io.IOException
        Read in the file, and make available for examination.
        Parameters:
        f - the file to load.
        Throws:
        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.