|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceResolver
Creates a DataSource
based on an URL.
Method Summary | |
---|---|
DataSource |
resolve(String resourceLocation)
Resolves the given resource location to a DataSource . |
DataSource |
resolve(String resourceLocation,
boolean isLenient)
Resolves the given resource location to a DataSource . |
Method Detail |
---|
DataSource resolve(String resourceLocation) throws IOException
DataSource
.
resourceLocation
- the location of the resource
DataSource
IOException
- the resource was not foundDataSource resolve(String resourceLocation, boolean isLenient) throws IOException
DataSource
.
resourceLocation
- the location of the resourceisLenient
- shall we ignore resources not found or complain with an exception?
IOException
- resolving the resource failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |