spring-geode/src/main/java/org/springframework/geode/core/io/ResourceResolver.java
/**
	 * Returns a {@literal non-null}, {@literal existing} {@link Resource} handle resolved from the given,
	 * {@literal non-null} {@link String location} (e.g. {@link String filesystem path}).
	 *
	 * @param location {@link String location} identifying the {@link Resource} to resolve;
	 * must not be {@literal null}.
	 * @return a {@literal non-null}, {@literal existing} {@link Resource} handle for
	 * the resolved {@link String location}.
	 * @throws ResourceNotFoundException if a {@link Resource} cannot be resolved from the given {@link String location}.
	 * A {@link Resource} is unresolvable if the given {@link String location} does not exist (physically);
	 * see {@link Resource#exists()}.
	 * @see org.springframework.core.io.Resource
	 * @see #resolve(String)
	 */
Returns a  non-null,  existing  Resource handle resolved from the given,
non-null  String location .

@param location  String location identifying the  Resource to resolve;
must not be  null.
@return a  non-null,  existing  Resource handle for
the resolved  String location.
@throws ResourceNotFoundException if a  Resource cannot be resolved from the given  String location.
A  Resource is unresolvable if the given  String location does not exist (physically);
see  Resource#exists().
Returns a non - null existing Resource handle resolved from the given non - null String location . @param location String location identifying the Resource to resolve ; must not be null . @return a non - null existing Resource handle for the resolved String location . @throws ResourceNotFoundException if a Resource cannot be resolved from the given String location . A Resource is unresolvable if the given String location does not exist ( physically ) ; see Resource#exists () .
default @NonNull Resource require(@NonNull String location) {
		return resolve(location)
			.filter(Resource::exists)
			.orElseThrow(() -> new ResourceNotFoundException(String.format("Resource [%s] does not exist", location)));
	}
default @ NonNull Resource require ( @ NonNull String location ) { return resolve ( location ) . filter ( Resource :: exists ) . orElseThrow ( ( ) -> new ResourceNotFoundException ( String . format ( "Resource [%s] does not exist" , location ) ) ) ; }
Returns a {@literal non-null}, {@literal existing} {@link Resource} handle resolved from the given,
 {@literal non-null} {@link String location} (e.g.
Returns a { @literal non - null } { @literal existing } { @link Resource } handle resolved from the given { @literal non - null } { @link String location } ( e . g .