Class FileUtil


  • public class FileUtil
    extends Object
    • Field Detail

      • LOGGER

        protected static final org.apache.log4j.Logger LOGGER
    • Constructor Detail

      • FileUtil

        public FileUtil()
    • Method Detail

      • getFolder

        public static File getFolder​(String path)
        Get the reconfiguration rule folder. FIXME: Remove this and load reconfiguration rules into a blackboard.
        Parameters:
        path - String to the reconfiguration rules
        Returns:
        folder of the QVTo reconfiguration rules
      • getFiles

        public static File[] getFiles​(File folder,
                                      String fileExtension)
        Get the reconfiguration rule files. FIXME: Remove this and load reconfiguration rules into a blackboard.
        Parameters:
        folder - Filepath to the reconfiguration rules
        Returns:
        folder of the QVTo reconfiguration rules