Package cern.accsoft.steering.jmad.io
Interface ApertureReader
-
- All Known Implementing Classes:
ApertureReaderImpl
public interface ApertureReader
this is the interface of a class which loads the aperture data for jmad
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Aperture
readIndex(java.io.File file)
loads the aperture data from the filevoid
readValues(java.io.File file, Aperture aperture)
updates the given aperture with the values from the file.
-
-
-
Method Detail
-
readIndex
Aperture readIndex(java.io.File file)
loads the aperture data from the file- Parameters:
file
- the file from which to load the data- Returns:
- a newly instance of the Aperture-data
-
readValues
void readValues(java.io.File file, Aperture aperture)
updates the given aperture with the values from the file.- Parameters:
file
- the file from which to read the valuesaperture
- the aperture sobject to update
-
-