public class RelativePathFinder extends Object
| Constructor and Description |
|---|
RelativePathFinder() |
| Modifier and Type | Method and Description |
|---|---|
static File |
getRelativePath(File target,
File base)
getRelativePath
|
static File |
getRelativePath(File target,
File base,
String pathSeparator)
getRelativePath
|
static String |
getRelativePath(String targetPath,
String basePath)
getRelativePath
|
static String |
getRelativePath(String target,
String base,
String separator)
Calculates the relative path
|
public static String getRelativePath(@Nonnull String target, @Nonnull String base, @Nonnull String separator)
target - the target pathbase - the base (a directory)separator - the separator@Nonnull public static File getRelativePath(@Nonnull File target, @Nonnull File base, @Nonnull String pathSeparator)
getRelativePath
public static File getRelativePath(@Nonnull File target, @Nonnull File base)
getRelativePath
Copyright © 2012 cedarsoft GmbH. All Rights Reserved.