类 FileUtility


  • public class FileUtility
    extends Object
    作者:
    Yun
    • 字段详细资料

    • 方法详细资料

      • cleanDirectory

        public void cleanDirectory​(Path dir)
                            throws IOException
        Clean all files and sub-directories in the directory
        参数:
        dir -
        抛出:
        IOException
      • deleteDirectory

        public void deleteDirectory​(Path dir)
                             throws IOException
        Delete a directory with files and sub-directories
        参数:
        dir -
        抛出:
        IOException