private void initUrl() {
		if (null != this.clazz) {
			super.url = this.clazz.getResource(this.path);
		} else if (null != this.classLoader) {
			super.url = this.classLoader.getResource(this.path);
		} else {
			super.url = ClassLoader.getSystemResource(this.path);
		}
		if (null == super.url) {
			throw new NoResourceException("Resource of path [{}] not exist!", this.path);
		}
	}
private void initUrl ( ) { if ( null != this . clazz ) { super . url = this . clazz . getResource ( this . path ) ; } else if ( null != this . classLoader ) { super . url = this . classLoader . getResource ( this . path ) ; } else { super . url = ClassLoader . getSystemResource ( this . path ) ; } if ( null == super . url ) { throw new NoResourceException ( "Resource of path [{}] not exist!" , this . path ) ; } }
根据给定资源初始化URL