org.gcube.datatransformation.datatransformationlibrary.programs.metadata.util
Class XSLTRetriever

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.programs.metadata.util.XSLTRetriever

public class XSLTRetriever
extends java.lang.Object

Author:
Dimitris Katris, NKUA

Retrieves an xslt from IS.


Constructor Summary
XSLTRetriever()
           
 
Method Summary
static java.lang.String getXSLTFromIS(java.lang.String xsltID, GCUBEScope scope)
          Retrieves an xslt from IS.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSLTRetriever

public XSLTRetriever()
Method Detail

getXSLTFromIS

public static java.lang.String getXSLTFromIS(java.lang.String xsltID,
                                             GCUBEScope scope)
                                      throws java.lang.Exception
Retrieves an xslt from IS.

Parameters:
xsltID - The id of the xslt.
scope - The scope
Returns:
The xslt.
Throws:
java.lang.Exception - If the xslt could not be fould or could not contact IS.