Package org.jmol.jsv
Class JDXMOLParser
java.lang.Object
org.jmol.jsv.JDXMOLParser
- All Implemented Interfaces:
JmolJDXMOLParser
Parses JDX-MOL records ##$MODELS and ##$PEAKS/##$SIGNALS. Used in both Jmol
and JSpecView.
Also gets info from ACD Labs files JCAMP-DX=5.00 $$ ACD/SpecManager v 12.01
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String line, String tag) readACDAssignments(int nPoints, boolean isPeakAssignment) MOL file embedded in JDX filebooleanintreadPeaks(boolean isSignals, int peakCount) intsetACDAssignments(String model, String mytype, int peakCount, Lst<String[]> acdlist, String molFile) void
-
Constructor Details
-
JDXMOLParser
public JDXMOLParser()
-
-
Method Details
-
set
- Specified by:
setin interfaceJmolJDXMOLParser
-
getAttribute
- Specified by:
getAttributein interfaceJmolJDXMOLParser
-
getRecord
- Specified by:
getRecordin interfaceJmolJDXMOLParser- Throws:
Exception
-
readModels
- Specified by:
readModelsin interfaceJmolJDXMOLParser- Throws:
Exception
-
readACDMolFile
MOL file embedded in JDX file- Specified by:
readACDMolFilein interfaceJmolJDXMOLParser- Throws:
Exception
-
readACDAssignments
- Specified by:
readACDAssignmentsin interfaceJmolJDXMOLParser- Throws:
Exception
-
setACDAssignments
public int setACDAssignments(String model, String mytype, int peakCount, Lst<String[]> acdlist, String molFile) throws Exception - Specified by:
setACDAssignmentsin interfaceJmolJDXMOLParser- Throws:
Exception
-
readPeaks
- Specified by:
readPeaksin interfaceJmolJDXMOLParser- Throws:
Exception
-
setLine
- Specified by:
setLinein interfaceJmolJDXMOLParser
-