/* $RCSfile$ * $Author$ * $Date$ * $Revision$ * * Copyright (C) 2003-2007 The CDK Project Team * * Contact: cdk-devel@lists.sourceforge.net * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ package org.openscience.cdk.io.listener; import java.util.EventListener; import org.openscience.cdk.io.setting.IOSetting; /** * Allows monitoring of progress of file reader activities. * * @cdk.module io * @cdk.githash * * @author Egon Willighagen */ public interface IChemObjectIOListener extends EventListener { /** * Prompted when the IO filter needs information to process the * file. The ReaderListener may redirect this question to the * user, disregard it (and let the Reader take the default), * or answer it itself. */ public void processIOSettingQuestion(IOSetting setting); }