Package org.gradle.util

Examples of org.gradle.util.TestFile.listFiles()


    }

    @TaskAction
    public void transform() {
        TestFile inputDir = new TestFile(this.inputDir);
        for (File file : inputDir.listFiles()) {
            TestFile inputFile = new TestFile(file);
            TestFile outputFile = new TestFile(outputDir, inputFile.getName());
            outputFile.write(String.format("[%s]", inputFile.getText()));
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.