Class AgentDirUtils


  • public class AgentDirUtils
    extends Object
    • Constructor Detail

      • AgentDirUtils

        public AgentDirUtils()
    • Method Detail

      • mkDir

        public static File mkDir​(File parent,
                                 String dirName)
        Make a directory if it doesn't already exist
        Parameters:
        parent - The parent directroy
        dirName - The name of the directory
        Returns:
        A File object pointing to the directory created
      • createHomeDirLayout

        public static void createHomeDirLayout​(String homeDirStr)
                                        throws IOException
        Create agent home directory and its subdirectories
        Throws:
        Exception - When IO problem occurs
        IOException