This document lists the Resource URL formats supported by the UrlResourceUtil class that is used by multiple Development Entropy projects.

Classpath

Loads resoruces from the classpath. Resource Locations should be prefixed with classpath: and be fully qualified paths in the classpath, with . replaced by /.

Example: classpath:/org/deventropy/junithelper/utils/file.ext

File

Refers to a resource on a local or mounted file system. Resource Locations should be prefixed with file: and be fully qualified paths.

Example: file:/path/to/file/file.ext

HTTP / HTTPS

A remote HTTP / HTTPS resource. Regular HTTP/HTTPs URL format should be used.

Example: http://example.com/file.ext

Back to top

Version: 1.0-alpha.1-SNAPSHOT. Last Published: 19 Feb 2016.

Reflow Maven skin by Andrius Velykis.