Class FileUtil
java.lang.Object
org.zeroturnaround.jrebel.gradle.util.FileUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetCanonicalPath(File file) static StringgetRelativePath(File baseDir, File file) static booleanisRelativeToPath(File baseDir, File file) static voidwriteToFile(File file, String contents) file writer helper
-
Constructor Details
-
FileUtil
public FileUtil()
-
-
Method Details
-
writeToFile
file writer helper- Throws:
IOException
-
getCanonicalPath
- Throws:
org.gradle.tooling.BuildException
-
isRelativeToPath
public static boolean isRelativeToPath(File baseDir, File file) throws org.gradle.tooling.BuildException - Throws:
org.gradle.tooling.BuildException
-
getRelativePath
public static String getRelativePath(File baseDir, File file) throws org.gradle.tooling.BuildException - Throws:
org.gradle.tooling.BuildException
-