use of org.talend.core.ui.export.FileSystemExporterFullPath in project tdi-studio-se by Talend.
the class JobScriptsExportWizardPage method getUnzipExporterOperation.
/**
* Get the export operation.
*
* @param resourcesToExport
* @return
*/
public FileSystemExporterFullPath getUnzipExporterOperation(List<ExportFileResource> resourcesToExport) {
//$NON-NLS-1$
String currentUnzipFile = getDestinationValue().replace("/", File.separator);
currentUnzipFile = currentUnzipFile.substring(0, currentUnzipFile.lastIndexOf(File.separator));
FileSystemExporterFullPath exporterOperation = null;
try {
exporterOperation = new FileSystemExporterFullPath(resourcesToExport, currentUnzipFile);
} catch (IOException e) {
// TODO Auto-generated catch block
// e.printStackTrace();
ExceptionHandler.process(e);
}
return exporterOperation;
}
Aggregations