Package org.gradle.api

Examples of org.gradle.api.UncheckedIOException


    public static void writeLines(File file, Collection lines) {
        try {
            FileUtils.writeLines(file, lines);
        } catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }
View Full Code Here


    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);
        }
    }
View Full Code Here

    public static void writeLines(File file, Collection lines, String lineEnding) {
        try {
            FileUtils.writeLines(file, lines, lineEnding);
        } catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }
View Full Code Here

    public static void forceDelete(File file) {
        try {
            FileUtils.forceDelete(file);
        } catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }
View Full Code Here

    public static void forceDeleteOnExit(File file) {
        try {
            FileUtils.forceDeleteOnExit(file);
        } catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }
View Full Code Here

    public static void forceMkdir(File directory) {
        try {
            FileUtils.forceMkdir(directory);
        } catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }
View Full Code Here

    public static long checksumCRC32(File file) {
        try {
            return FileUtils.checksumCRC32(file);
        } catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }
View Full Code Here

    public static Checksum checksum(File file, Checksum checksum) {
        try {
            return FileUtils.checksum(file, checksum);
        } catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }
View Full Code Here

    public static void moveDirectory(File srcDir, File destDir) {
        try {
            FileUtils.moveDirectory(srcDir, destDir);
        } catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }
View Full Code Here

    public static void moveDirectoryToDirectory(File src, File destDir, boolean createDestDir) {
        try {
            FileUtils.moveDirectoryToDirectory(src, destDir, createDestDir);
        } catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.gradle.api.UncheckedIOException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.