Package xal.tools.data
Interface FileDataAdaptor
- All Superinterfaces:
DataAdaptor
- All Known Implementing Classes:
Hdf5DataAdaptor
,XmlDataAdaptor
Interface extending DataAdaptor with some convenience methods to write
DataAdaptors to files. It is intended for applications implementing save to
file using different data formats.
- Author:
- Juan F. Esteban Müller <JuanF.EstebanMuller@esss.se>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Convenience method for writing a DataAdaptor to a filevoid
writeToUrl
(URL url) Write DataAdaptor to the specified urlvoid
writeToUrlSpec
(String urlSpec) Write DataAdaptor to the specified urlMethods inherited from interface xal.tools.data.DataAdaptor
attributes, booleanValue, childAdaptor, childAdaptors, childAdaptors, createChild, doubleArray, doubleValue, hasAttribute, intValue, longValue, name, removeChild, setValue, setValue, setValue, setValue, setValue, setValue, setValue, stringValue, writeNode, writeNodes
-
Method Details
-
writeTo
Convenience method for writing a DataAdaptor to a file- Throws:
IOException
-
writeToUrl
Write DataAdaptor to the specified url- Throws:
IOException
-
writeToUrlSpec
Write DataAdaptor to the specified url- Throws:
IOException
-