X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Futil%2FUrlLink.java;h=00e33b2a83c4beac3ff58895c28b32075635cf3d;hb=c16c1633e1a5acc9f44e4de40b9abbb8a59b99b4;hp=24ea6050a7737269e9ee6a56cb0cb2393d9f624c;hpb=2de8acfae59aced665e4c37ad0f7dcc2ed68818e;p=jalview.git diff --git a/src/jalview/util/UrlLink.java b/src/jalview/util/UrlLink.java index 24ea605..00e33b2 100644 --- a/src/jalview/util/UrlLink.java +++ b/src/jalview/util/UrlLink.java @@ -29,6 +29,7 @@ public class UrlLink * strings and replace the result in the URL. Regex's operate on the whole ID * string given to the matchURL method, if no regex is supplied, then only * text following the first pipe symbol will be susbstituted. + * Usage documentation todo. */ private String url_suffix, url_prefix, target, label, regexReplace; @@ -171,8 +172,8 @@ public class UrlLink } /** - * - * @return true if URL string could not be parsed properly. + * Check if URL string was parsed properly. + * @return boolean - if false then getInvalidMessage returns an error message */ public boolean isValid() {