public abstract class ResourceUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_CLASSPATH_URL_PREFIX
Pseudo URL prefix for loading all resources from the class path: "classpath*:".
|
static String |
CLASSPATH_URL_PREFIX
Pseudo URL prefix for loading from the class path: "classpath:".
|
static String |
FILE_URL_PREFIX
URL prefix for loading from the file system: "file:".
|
| Constructor and Description |
|---|
ResourceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getUrls(String path,
ClassLoader classLoader)
Return URLs from a given source path.
|
public static final String CLASSPATH_URL_PREFIX
public static final String ALL_CLASSPATH_URL_PREFIX
public static final String FILE_URL_PREFIX
public static List<String> getUrls(String path, ClassLoader classLoader)
path - the source pathclassLoader - the class loader or null to use the defaultCopyright © 2016 Pivotal Software, Inc.. All rights reserved.