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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String line, String tag) booleanreadACDAssignments(int nPoints, boolean isPeakAssignment, Lst<String[]> list) MOL file embedded in JDX filebooleanintreadPeaks(boolean isSignals, int peakCount) intsetACDAssignments(String model, String mytype, int peakCount, Lst<String[]> acdlist, String molFile) void
-
Field Details
-
allowSameName
public static final boolean allowSameName- See Also:
-
-
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
public boolean readACDAssignments(int nPoints, boolean isPeakAssignment, Lst<String[]> list) throws Exception - 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
-
getFirstModelWithPeaks
- Specified by:
getFirstModelWithPeaksin interfaceJmolJDXMOLParser
-