UncheckedIOException
336337338339340341342343
public static void writeLines(File file, Collection lines) { try { FileUtils.writeLines(file, lines); } catch (IOException e) { throw new UncheckedIOException(e); } }
344345346347348349350351
public static void writeLines(File file, String encoding, Collection lines, String lineEnding) { try { FileUtils.writeLines(file, encoding, lines, lineEnding); } catch (IOException e) { throw new UncheckedIOException(e); } }
352353354355356357358359
public static void writeLines(File file, Collection lines, String lineEnding) { try { FileUtils.writeLines(file, lines, lineEnding); } catch (IOException e) { throw new UncheckedIOException(e); } }
360361362363364365366367
public static void forceDelete(File file) { try { FileUtils.forceDelete(file); } catch (IOException e) { throw new UncheckedIOException(e); } }
368369370371372373374375
public static void forceDeleteOnExit(File file) { try { FileUtils.forceDeleteOnExit(file); } catch (IOException e) { throw new UncheckedIOException(e); } }
376377378379380381382383
public static void forceMkdir(File directory) { try { FileUtils.forceMkdir(directory); } catch (IOException e) { throw new UncheckedIOException(e); } }
412413414415416417418419
public static long checksumCRC32(File file) { try { return FileUtils.checksumCRC32(file); } catch (IOException e) { throw new UncheckedIOException(e); } }
420421422423424425426427
public static Checksum checksum(File file, Checksum checksum) { try { return FileUtils.checksum(file, checksum); } catch (IOException e) { throw new UncheckedIOException(e); } }
428429430431432433434435
public static void moveDirectory(File srcDir, File destDir) { try { FileUtils.moveDirectory(srcDir, destDir); } catch (IOException e) { throw new UncheckedIOException(e); } }
436437438439440441442443
public static void moveDirectoryToDirectory(File src, File destDir, boolean createDestDir) { try { FileUtils.moveDirectoryToDirectory(src, destDir, createDestDir); } catch (IOException e) { throw new UncheckedIOException(e); } }