Conversion Class
The Class for chemical file tables conversion
Constructor
Conversion
()
Item Index
Methods
Methods
read
(
Molecule
-
input
Reads the given string and creates the molecule object
Parameters:
-
input
StringThe Input String
Returns:
Molecule:
Returns the molecule
setInFormat
(
Conversion
-
format
Set the input format
Parameters:
-
format
StringFormat
Returns:
Conversion:
Returns this
setOutFormat
(
Conversion
-
format
Set the output format
Parameters:
-
format
StringFormat
Returns:
Conversion:
Returns this
write
(
String
-
mol
Writes the given molecule to string according to the output format
Parameters:
-
mol
MoleculeThe Input Molecule
Returns:
String:
Returns the result string