UncheckedIOException
176177178179180181182183
public static void copyDirectoryToDirectory(File srcDir, File destDir) { try { FileUtils.copyDirectoryToDirectory(srcDir, destDir); } catch (IOException e) { throw new UncheckedIOException(e); } }
184185186187188189190191
public static void copyDirectory(File srcDir, File destDir) { try { FileUtils.copyDirectory(srcDir, destDir); } catch (IOException e) { throw new UncheckedIOException(e); } }
192193194195196197198199
public static void copyDirectory(File srcDir, File destDir, boolean preserveFileDate) { try { FileUtils.copyDirectory(srcDir, destDir, preserveFileDate); } catch (IOException e) { throw new UncheckedIOException(e); } }
200201202203204205206207
public static void copyDirectory(File srcDir, File destDir, FileFilter filter) { try { FileUtils.copyDirectory(srcDir, destDir, filter); } catch (IOException e) { throw new UncheckedIOException(e); } }
208209210211212213214215
public static void copyDirectory(File srcDir, File destDir, FileFilter filter, boolean preserveFileDate) { try { FileUtils.copyDirectory(srcDir, destDir, filter, preserveFileDate); } catch (IOException e) { throw new UncheckedIOException(e); } }
216217218219220221222223
public static void copyURLToFile(URL source, File destination) { try { FileUtils.copyURLToFile(source, destination); } catch (IOException e) { throw new UncheckedIOException(e); } }
224225226227228229230231
public static void deleteDirectory(File directory) { try { FileUtils.deleteDirectory(directory); } catch (IOException e) { throw new UncheckedIOException(e); } }
236237238239240241242243
public static void cleanDirectory(File directory) { try { FileUtils.cleanDirectory(directory); } catch (IOException e) { throw new UncheckedIOException(e); } }
248249250251252253254255
public static String readFileToString(File file, String encoding) { try { return FileUtils.readFileToString(file, encoding); } catch (IOException e) { throw new UncheckedIOException(e); } }
256257258259260261262263
public static String readFileToString(File file) { try { return FileUtils.readFileToString(file); } catch (IOException e) { throw new UncheckedIOException(e); } }