Package org.soulwing.jdbc.source
Interface ResourceSQLSource.ResourceAccessor
-
- Enclosing class:
- ResourceSQLSource
public static interface ResourceSQLSource.ResourceAccessor
An accessor for a resource.This is an interface that should be defined in the JDK and implemented by the
Class
andClassLoader
objects. Alas, it is not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URL
getResource(String name)
Gets a URL for a resource.
-
-
-
Method Detail
-
getResource
URL getResource(String name) throws SQLResourceNotFoundException
Gets a URL for a resource.- Parameters:
name
- name of the resource- Returns:
- location of the resource
- Throws:
SQLResourceNotFoundException
- if the resource cannot be found
-
-