cdkbook

ReadingModes.groovy

Source code:

@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')

import org.openscience.cdk.io.*;

IChemObjectReader.Mode.each {
  println it
}

Output:

RELAXED
STRICT