JAL-3772 Preference to NOT prompt to save remotely loaded alignments
[jalview.git] / src / jalview / io / DataSourceType.java
index 6d00a7d..c983dfe 100644 (file)
@@ -28,4 +28,9 @@ public enum DataSourceType
   {
     return this != FILE;
   }
+
+  public boolean isUrl()
+  {
+    return this == URL || this == RELATIVE_URL;
+  }
 }