Java URL Protocols: classpath:/?

Viewed 26631

I've seen some Spring code that read config files and other resources directly off the runtime classpath using the classpath:/some/path/to/resource URL protocol.

Is this a Spring construct or a Java construct?

I can't find any documentation besides this question - URL to load resources from the classpath in Java, which doesn't indicate either way.

If it's a Java construct, can anyone point me to its official documentation?

2 Answers
Related