public final class RelativePathWriter
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
formatRelativePathString(java.nio.file.Path relativeTo,
java.nio.file.Path entry)
Create a relative path that has \ (windows) path separator replaced with / and encodes newlines
|
public static java.lang.String formatRelativePathString(java.nio.file.Path relativeTo,
java.nio.file.Path entry)
relativeTo - the path to remove from the entryentry - the path to make relative