Merge branch 'develop' into features/JAL-518_justify_seqs_in_region
[jalview.git] / src / jalview / io / DataSourceType.java
index 7e2aeab..c983dfe 100644 (file)
@@ -23,4 +23,14 @@ package jalview.io;
 public enum DataSourceType
 {
   FILE, URL, PASTE, CLASSLOADER, RELATIVE_URL;
+
+  public boolean isDynamic()
+  {
+    return this != FILE;
+  }
+
+  public boolean isUrl()
+  {
+    return this == URL || this == RELATIVE_URL;
+  }
 }