net.sf.taverna.t2.provenance.lineageservice
Class AnnotationsLoader

java.lang.Object
  extended by net.sf.taverna.t2.provenance.lineageservice.AnnotationsLoader

public class AnnotationsLoader
extends java.lang.Object

Author:
Paolo Missier

Constructor Summary
AnnotationsLoader()
           
 
Method Summary
 java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAnnotations(java.lang.String annotationFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationsLoader

public AnnotationsLoader()
Method Detail

getAnnotations

public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAnnotations(java.lang.String annotationFile)
Parameters:
annotationFile - by convention we use +"annotations"
Returns:
a map pname -> annotation so that the lineage query alg can use the annotation when processing pname