Class AcceleratorExporter
java.lang.Object
xal.extension.tracewinimporter.openxalexporter.AcceleratorExporter
Exporting of Accelerator to the OpenXAL format with all all required files.
- Author:
- Blaz Kranjc, Juan F. Esteban Müller <juanf.estebanmuller@esss.se>
-
Constructor Summary
ConstructorsConstructorDescriptionAcceleratorExporter
(ESSAccelerator acc, String dir, String mainFile) Constructor. -
Method Summary
-
Constructor Details
-
AcceleratorExporter
Constructor.- Parameters:
acc
- Accelerator to export.dir
- Path to the main file.mainFile
- Name of the main file.
-
-
Method Details
-
getFiles
Return the main files that will be saved. Files for FieldProfile objects are not included.- Returns:
- Array of files.
-
export
Export the Accelerator to files.- Throws:
IOException
URISyntaxException
-