public abstract class ResourceUtils extends Object
| Constructor and Description | 
|---|
| ResourceUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static String | decode(String source)Decodes the given encoded source String into an URI. | 
| static Resource | findContainingJar(Class<?> clazz)Locates the jar (within the classpath) containing the given class. | 
| static Resource | findContainingJar(ClassLoader loader,
                 String resourceName)Locates a jar (within the classpath) containing the given resource. | 
public static Resource findContainingJar(Class<?> clazz)
findContainingJar(ClassLoader, String)
 instead.clazz - the class to look forpublic static Resource findContainingJar(ClassLoader loader, String resourceName)
loader - class loader to use for locating the jarresourceName - resource to look forpublic static String decode(String source)
"a" through "z",
 "A" through "Z", and "0" through "9"
 stay the same.
 "-", "_", ".", and
 "*" stay the same.
 %xy format.
 %xy" is interpreted as a hexadecimal
 representation of the character.
 source - the source stringURLDecoder.decode(String, String)