From: Shamshad A. <sha...@gm...> - 2014-08-05 07:15:21
|
public interface Exporter { /** * the name of the exporter * @return name of the exporter */ public String getName(); /** * * @return description of the exporter */ public String getDescription(); /** * Export data to file * * @param molecules * the {@code Iterable<IAtomContainer>} to export * @param properties * The key in the map represent the header and the corresponding * value represent the key of the {@code IAtomContainer} * @param filename * the name of the file where you want to export the data */ public void writeData(Iterable<IAtomContainer> molecules, Map<String, ? extends Object> properties, String filename); /** * Get the extension of the file * * @return extension of file */ public String getFileExtension(); /** * * @param listener * {@code ProgressListener} to add */ public void addProgressListener(ProgressListener<ExportStatus> listener); /** * * @param listener * {@code ProgressListener} to remove */ public void removeProgressListener(ProgressListener<ExportStatus> listener); } |