public static interface RelativePathBase.Settings
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
appendPathForBaseDir(java.lang.StringBuilder result,
java.io.File baseDir)
Appends the path for a file that equals the base directory.
|
java.lang.StringBuilder |
appendPrefixForChildren(java.lang.StringBuilder result,
java.io.File baseDir,
boolean directChildOfBase)
Appends the path prefix for children of the base directory.
|
java.lang.StringBuilder |
appendPrefixToCommonAncestor(java.lang.StringBuilder result,
java.io.File baseDir,
int levelsToCommonAncestor)
Appends the path prefix from the base directory to the common
ancestor of base directory and target file.
|
java.lang.StringBuilder appendPathForBaseDir(java.lang.StringBuilder result, java.io.File baseDir)
result - the string builder with the result pathbaseDir - the base directory, here also the relative path targetresult instance for chained invocationsjava.lang.StringBuilder appendPrefixForChildren(java.lang.StringBuilder result, java.io.File baseDir, boolean directChildOfBase)
result - the string builder with the result pathbaseDir - the base directory, here a parent directory of the
relative path targetresult instance for chained invocationsjava.lang.StringBuilder appendPrefixToCommonAncestor(java.lang.StringBuilder result, java.io.File baseDir, int levelsToCommonAncestor)
result - the string builder with the result pathbaseDir - the base directory, here a directory which has a common
ancestor with the relative path targetresult instance for chained invocationsCopyright © 2021. All Rights Reserved.