jodd-core/src/main/java/jodd/util/ClassLoaderUtil.java
public static InputStream getResourceAsStream(final String resourceName, final ClassLoader callingClass) throws IOException {
		URL url = getResourceUrl(resourceName, callingClass);
		if (url != null) {
			return url.openStream();
		}
		return null;
	}
public static InputStream getResourceAsStream(final String resourceName, final ClassLoader callingClass) throws IOException {
		URL url = getResourceUrl(resourceName, callingClass);
		if (url != null) {
			return url.openStream();
		}
		return null;
	}
public static InputStream getResourceAsStream ( final String resourceName , final ClassLoader callingClass ) throws IOException { URL url = getResourceUrl ( resourceName , callingClass ) ; if ( url != null ) { return url . openStream ( ) ; } return null ; }
Opens a resource of the specified name for reading.
@see #getResourceUrl(String, ClassLoader)
Opens a resource of the specified name for reading .