git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'develop' into patch/JAL-4281_idwidthandannotHeight_in_project
[jalview.git]
/
src
/
jalview
/
io
/
DataSourceType.java
diff --git
a/src/jalview/io/DataSourceType.java
b/src/jalview/io/DataSourceType.java
index
6d00a7d
..
c983dfe
100644
(file)
--- a/
src/jalview/io/DataSourceType.java
+++ b/
src/jalview/io/DataSourceType.java
@@
-28,4
+28,9
@@
public enum DataSourceType
{
return this != FILE;
}
+
+ public boolean isUrl()
+ {
+ return this == URL || this == RELATIVE_URL;
+ }
}