Class GetResource
- java.lang.Object
-
- org.hibernate.validator.internal.util.privilegedactions.GetResource
-
- All Implemented Interfaces:
PrivilegedAction<URL>
public final class GetResource extends Object implements PrivilegedAction<URL>
Loads the given resource.- Author:
- Gunnar Morling
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetResourceaction(ClassLoader classLoader, String resourceName)URLrun()
-
-
-
Method Detail
-
action
public static GetResource action(ClassLoader classLoader, String resourceName)
-
run
public URL run()
- Specified by:
runin interfacePrivilegedAction<URL>
-
-