Java org.springframework.util ResourceUtils fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.util ResourceUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.util ResourceUtils.

The text is from its open source code.

Subclass

org.springframework.util.ResourceUtils has subclasses.
Click this link to see all its subclasses.

Field

StringCLASSPATH_URL_PREFIX
Pseudo URL prefix for loading from the class path: "classpath:".
StringFILE_URL_PREFIX
URL prefix for loading from the file system: "file:".
StringJAR_URL_PREFIX
URL prefix for loading from a jar file: "jar:".
StringURL_PROTOCOL_JAR
URL protocol for an entry from a jar file: "jar".
StringURL_PROTOCOL_ZIP
URL protocol for an entry from a zip file: "zip".
StringURL_PROTOCOL_WSJAR
URL protocol for an entry from a WebSphere jar file: "wsjar".
StringURL_PROTOCOL_VFSZIP
URL protocol for an entry from a JBoss jar file: "vfszip".
StringURL_PROTOCOL_VFS
URL protocol for a general JBoss VFS resource: "vfs".
StringJAR_URL_SEPARATOR
Separator between JAR URL and file path within the JAR: "!/".
StringWAR_URL_SEPARATOR
Special separator between WAR URL and jar part on Tomcat.

Method

URLextractJarFileURL(URL jarUrl)
Extract the URL for the actual jar file from the given URL (which may point to a resource in a jar file or to a jar file itself).
FilegetFile(String resourceLocation)
Resolve the given resource location to a java.io.File , i.e.
FilegetFile(URL resourceUrl)
Resolve the given resource URL to a java.io.File , i.e.
FilegetFile(URI resourceUri)
Resolve the given resource URI to a java.io.File , i.e.
FilegetFile(URL resourceUrl, String description)
Resolve the given resource URL to a java.io.File , i.e.
FilegetFile(URI resourceUri, String description)
Resolve the given resource URI to a java.io.File , i.e.
URLgetURL(String resourceLocation)
Resolve the given resource location to a java.net.URL .
booleanisJarURL(URL url)
Determine whether the given URL points to a resource in a jar file.
booleanisUrl(@Nullable String resourceLocation)
Return whether the given resource location is a URL: either a special "classpath" pseudo URL or a standard URL.
URItoURI(URL url)
Create a URI instance for the given URL, replacing spaces with "%20" URI encoding first.
URItoURI(String location)
Create a URI instance for the given location String, replacing spaces with "%20" URI encoding first.
voiduseCachesIfNecessary(URLConnection con)
Set the URLConnection#setUseCaches "useCaches" flag on the given connection, preferring false but leaving the flag at true for JNLP based resources.