Class DataSourceBaseResolver
java.lang.Object
org.apache.commons.mail.resolver.DataSourceBaseResolver
- All Implemented Interfaces:
DataSourceResolver
- Direct Known Subclasses:
DataSourceClassPathResolver, DataSourceCompositeResolver, DataSourceFileResolver, DataSourceUrlResolver
Base class for various resolvers.
- Since:
- 1.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanIs this a content id?protected booleanIs this a file URL?protected booleanIs this a HTTP/HTTPS URL?booleanShall we ignore resources not found or throw an exception?Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DataSourceResolver
resolve, resolve
-
Constructor Details
-
DataSourceBaseResolver
public DataSourceBaseResolver()Constructor. -
DataSourceBaseResolver
Constructor.- Parameters:
lenient- shall we ignore resources not found or throw an exception?
-
-
Method Details
-
isLenient
Shall we ignore resources not found or throw an exception?- Returns:
- the lenient flag
-
isCid
-
isFileUrl
-
isHttpUrl
-