Class AnIMLReader
java.lang.Object
org.episteme.natural.chemistry.loaders.animl.AnIMLReader
Analytical Information Markup Language (AnIML) Reader.
Parses AnIML files containing spectroscopic, chromatographic, and other analytical chemistry data. AnIML is an ASTM standard (E2077) for representing analytical instrument data.
Supported Data Types:
- Spectroscopy data (UV-Vis, IR, NMR, MS)
- Chromatography data (GC, HPLC, IC)
- Electrochemical data
- Thermal analysis data (DSC, TGA)
This implementation uses standard DOM parsing to remove dependencies on external schemas (org.astm).
* @see ASTM E2077 AnIML Standard- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReads AnIML data from a file.read(InputStream input) Reads AnIML data from an input stream.
-
Constructor Details
-
AnIMLReader
public AnIMLReader()Creates a new AnIMLReader.
-
-
Method Details
-
read
Reads AnIML data from an input stream.- Parameters:
input- the input stream containing AnIML data- Returns:
- an AnIML document containing parsed analytical data
- Throws:
AnIMLException- if parsing fails
-
read
Reads AnIML data from a file.- Parameters:
file- the file containing AnIML data- Returns:
- an AnIML document containing parsed analytical data
- Throws:
AnIMLException- if parsing fails
-