public final class ResourceUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static URL |
getResourceUrl(String resourceLocation)
Extracts an URL from the name of a resource.
|
public static URL getResourceUrl(String resourceLocation) throws FileNotFoundException
org.springframework.core.io.DefaultResourceLoader respectively
org.springframework.util.ResourceUtils.resourceLocation - The location of the resource, must not be null.FileNotFoundException - In all cases where an URL cannot be determinedCopyright © 2015–2019 Neo Technology, Inc.. All rights reserved.