public final class Segmenters extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SEGMENTER_FORMATS
Available segmenter formats.
|
| Modifier and Type | Method and Description |
|---|---|
static Function<Molecule,String> |
molExporter(String format)
Create exporter.
|
static Segmenter |
ofFormat(String format)
Create a segmenter.
|
public static final String SEGMENTER_FORMATS
public static Segmenter ofFormat(String format)
format - Segmenter format, available ones are listed in SEGMENTER_FORMATSpublic static Function<Molecule,String> molExporter(String format)
format - Format to use, passed to
MolExporter.exportToFormat(chemaxon.struc.Molecule, java.lang.String)IllegalArgumentException upon errors.