Class ResourceUtil.CallerResolver

java.lang.Object
java.lang.SecurityManager
org.eclipse.rdf4j.common.io.ResourceUtil.CallerResolver
Enclosing class:
ResourceUtil

private static final class ResourceUtil.CallerResolver extends SecurityManager
A helper class to get the call context. It subclasses SecurityManager to make getClassContext() accessible. An instance of CallerResolver only needs to be created, not installed as an actual security manager. We use our own class instead of System.getSecurityManager(), because that may be set to null.