Class ResourceResolver
- java.lang.Object
-
- de.dytanic.cloudnet.common.unsafe.ResourceResolver
-
@Internal public final class ResourceResolver extends java.lang.ObjectAllows you to provide the URI of a class whose classpath item
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.URIresolveURIFromResourceByClass(java.lang.Class<?> clazz)Allows you to provide the URI of a class whose classpath item
-
-
-
Method Detail
-
resolveURIFromResourceByClass
public static java.net.URI resolveURIFromResourceByClass(java.lang.Class<?> clazz)
Allows you to provide the URI of a class whose classpath item- Parameters:
clazz- the class, which should resolve the classpath item URI from- Returns:
- the uri of the classpath element or null if an exception was caught
- See Also:
Class,ProtectionDomain,CodeSource
-
-