Class CbusEventTableXmlFile

    • Method Detail

      • getDefaultFileName

        public java.lang.String getDefaultFileName()
        Get the full filename, including directory.
        Returns:
        String of file path.
      • getFileName

        public java.lang.String getFileName()
        Get the Event Table Filename, no directory.
        Returns:
        just the filename.
      • getFile

        public java.io.File getFile​(boolean store)
        Get the XML File for this connection. Migrates from previous single instance Event Table.
        Parameters:
        store - true to create new File if File does not exist.
        Returns:
        File, or if store is false and File not found, returns null.
      • getFileLocation

        public java.lang.String getFileLocation()
        Absolute path to directory of Event Table file. No trailing file separator.
        Returns:
        path to location
      • migrate

        public static void migrate​(java.nio.file.Path fromPath,
                                   java.lang.String newLocation,
                                   java.lang.String systemPrefix)
                            throws java.io.IOException
        Throws:
        java.io.IOException