public final class Helper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH_PREFIX |
| Constructor and Description |
|---|
Helper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
appendLeadingSlash(String path)
prepends a leading slash if there is none.
|
static String |
prependWebjarsPathIfMissing(String path)
prepends the webjars path if missing
|
static String |
reversePath(String assetPath)
Make paths like aa/bb/cc = cc/bb/aa.
|
public static final String PATH_PREFIX
public static String prependWebjarsPathIfMissing(String path)
path - the file name to checkpublic static String appendLeadingSlash(String path)
path - the pathCopyright © 2015 agilecoders.de. All Rights Reserved.