use of org.eclipse.wst.xsl.launching.config.LaunchPipeline in project webtools.sourceediting by eclipse.
the class XSLTSourcePathComputerDelegate method hydratePipeline.
private static LaunchPipeline hydratePipeline(ILaunchConfiguration configuration) throws CoreException {
LaunchPipeline pipeline = null;
String s = configuration.getAttribute(XSLLaunchConfigurationConstants.ATTR_PIPELINE, (String) null);
if (s != null && s.length() > 0) {
ByteArrayInputStream inputStream = new ByteArrayInputStream(s.getBytes());
pipeline = LaunchPipeline.fromXML(inputStream);
}
return pipeline;
}
Aggregations