public final class Escape extends Object
Modifier and Type | Method and Description |
---|---|
static String |
fileToResourceName(String path)
Convert file name to resource name.
|
static String |
resourceToFileName(String path)
Converts resource name to file name.
|
public static String fileToResourceName(String path)
path
- File name or pathpublic static String resourceToFileName(String path)
RESERVED_CHARS
.path
- Resource name or pathCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.