Hi,

But I have another question. How do I use the following codesnippet with 
input ports of depths greater than 0?

         if (identified instanceof ReferenceSet) {
             ReferenceSet referenceSet = (ReferenceSet) identified;
             Set<ExternalReferenceSPI> externalReferences = 
referenceSet.getExternalReferences();
             for (ExternalReferenceSPI externalReference : 
externalReferences) {
                 if (externalReference instanceof FileReference) {
                     FileReference fileReference = (FileReference) 
externalReference;
                     file = fileReference.getFilePath();
                 }
             }
         }

Cheers,
Andreas

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to