* A class to perform a DAS features request
*
* @author Andreas Prlic
- *
+ * Adapted for jalview use.
+ * @author Andrew Waterhouse
+ * Updated to Das 1.53e feature spec.
+ * @author Jim Procter
*/
public class DAS_FeatureRetrieve
{
-
+ String version;
List features;
Logger logger;
int comeBackLater;
{
xmlreader.parse(insource);
features = cont_handle.get_features();
+ version = cont_handle.getVersion();
+
comeBackLater = cont_handle.getComBackLater();
}
catch (Exception e)
{
return features;
+ }
+
+
+ /** Get the version string of the reference object.
+ * If it does not match the version string that is obtained from the
+ * reference server there is a version problem!
+ *
+ * @return version string. (e.g. a MD5 digest of the reference sequence)
+ */
+ public String getVersion() {
+ return version;
+ }
+
+
+ public void setVersion(String version) {
+ this.version = version;
}
/** returns the comeBackLater value - if a server returned suchh -