The detailed documentation about the supported file formats can be found in the File Formats in Marvin document.
Programmatic listing of the available file formats is available via the
MFileFormat
and
MFileFormatUtil
API.
The code below lists the available molecule export formats:
MFileFormat[] formats = MFileFormatUtil.findFormats( null, MFileFormat.F_EXPORT, MFileFormat.F_EXPORT | MFileFormat.F_ARCHIVE | MFileFormat.F_GRAPHICS);
In this example archive formats (like GZip or BASE64) are included by the MFileFormat.F_ARCHIVE flag, graphics formats are included by the MFileFormat.F_GRAPHICS flag given by the 3rd parameter.
|
Import |