public enum DataSourceType
{
- FILE, URL, PASTE, CLASSLOADER;
+ FILE, URL, PASTE, CLASSLOADER, RELATIVE_URL;
+
+ public boolean isDynamic()
+ {
+ return this != FILE;
+ }
+
+ public boolean isUrl()
+ {
+ return this == URL || this == RELATIVE_URL;
+ }
}