|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.util.ResourceUtils
public abstract class ResourceUtils
Utility methods for resolving resource locations to files in the file system. Mainly for internal use within the framework. issue 2 (remove unneccessary dependencies)
| Constructor Summary | |
|---|---|
ResourceUtils()
|
|
| Method Summary | |
|---|---|
static java.io.File |
getFile(java.net.URL resourceUrl,
java.lang.String description)
Resolve the given resource URL to a java.io.File, i.e.
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify,
notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceUtils()
| Method Detail |
|---|
public static java.io.File getFile(java.net.URL resourceUrl,
java.lang.String description)
throws java.io.FileNotFoundException
Resolve the given resource URL to a java.io.File, i.e.
to
a file in the file system.
resourceUrl - the resource URL to resolve
description - a description of the original
resource that the URL
was created for (for example, a class path location)
java.io.FileNotFoundException - if the URL cannot
be resolved to a file in
the file system
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||