public final class FileHandlingUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static File |
constructRelativeFile(File rootDirectory,
File file)
constructRelativeFile.
|
static File |
constructRelativeFile(String rootPath,
String filePath)
constructRelativeFile.
|
static String |
constructRelativePath(File rootDirectory,
File file)
constructRelativePath.
|
static String |
constructRelativePath(String rootPath,
String filePath)
constructRelativePath.
|
static void |
ensureParent(File file)
ensureParent.
|
public static File constructRelativeFile(File rootDirectory, File file)
constructRelativeFile.
rootDirectory - to be relative tofile - to get relative path forpublic static File constructRelativeFile(String rootPath, String filePath)
constructRelativeFile.
rootPath - to be relative tofilePath - to make relativepublic static String constructRelativePath(File rootDirectory, File file)
constructRelativePath.
rootDirectory - to be relative tofile - to get relative path forpublic static String constructRelativePath(String rootPath, String filePath)
constructRelativePath.
rootPath - to be relative tofilePath - to make relativepublic static void ensureParent(File file)
ensureParent.
file - will have an existing parent directory on successCopyright © 2017–2022 wcm.io QA. All rights reserved.