DataSourceResolver
DataSourceClassPathResolver
, DataSourceCompositeResolver
, DataSourceFileResolver
, DataSourceUrlResolver
public abstract class DataSourceBaseResolver extends java.lang.Object implements DataSourceResolver
Constructor | Description |
---|---|
DataSourceBaseResolver() |
Constructor.
|
DataSourceBaseResolver(boolean lenient) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
isCid(java.lang.String resourceLocation) |
Is this a content id?
|
protected boolean |
isFileUrl(java.lang.String urlString) |
Is this a file URL?
|
protected boolean |
isHttpUrl(java.lang.String urlString) |
Is this a HTTP/HTTPS URL?
|
boolean |
isLenient() |
Shall we ignore resources not found or throw an exception?
|
resolve, resolve
public DataSourceBaseResolver()
public DataSourceBaseResolver(boolean lenient)
lenient
- shall we ignore resources not found or throw an exception?public boolean isLenient()
protected boolean isCid(java.lang.String resourceLocation)
resourceLocation
- the resource locationprotected boolean isFileUrl(java.lang.String urlString)
urlString
- the URL stringprotected boolean isHttpUrl(java.lang.String urlString)
urlString
- the URL string