src/main/java/com/zandero/utils/ResourceUtils.java
@Deprecated
	public static String getResourceAbsolutePath(String resource, Class clazz) {

		Assert.notNullOrEmptyTrimmed(resource, "Missing resource name!");

		URL file = clazz.getResource(resource);
		Assert.notNull(file, "Resource: '" + resource + "', not found!");

		return file.getFile();
	}
@Deprecated
	public static String getResourceAbsolutePath(String resource, Class clazz) {

		Assert.notNullOrEmptyTrimmed(resource, "Missing resource name!");

		URL file = clazz.getResource(resource);
		Assert.notNull(file, "Resource: '" + resource + "', not found!");

		return file.getFile();
	}
@ Deprecated public static String getResourceAbsolutePath ( String resource , Class clazz ) { Assert . notNullOrEmptyTrimmed ( resource , "Missing resource name!" ) ; URL file = clazz . getResource ( resource ) ; Assert . notNull ( file , "Resource: '" + resource + "', not found!" ) ; return file . getFile ( ) ; }
Gets absolute file path of resource

@param resource to get absolute file path for
@param clazz    namespace holding resource
@return file path if found
@throws IllegalArgumentException if resource can not be found
Gets absolute file path of resource