Skip to content

Commit

Permalink
Move cdk-io core API
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay committed May 21, 2017
1 parent 2262ec1 commit 0c95334
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 10 deletions.
Expand Up @@ -15,16 +15,14 @@
*
* 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.
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*/
package org.openscience.cdk.io.iterator;

import org.openscience.cdk.exception.CDKException;
import org.openscience.cdk.interfaces.IChemObject;
import org.openscience.cdk.io.ChemObjectIO;
import org.openscience.cdk.io.IChemObjectReader;
import org.openscience.cdk.io.IChemObjectReaderErrorHandler;
import org.openscience.cdk.io.ISimpleChemObjectReader;

/**
* Abstract class that IteratingChemObjectReader's can implement to have it
Expand All @@ -36,7 +34,7 @@
public abstract class DefaultIteratingChemObjectReader<T extends IChemObject> extends ChemObjectIO implements
IIteratingChemObjectReader<T> {

protected IChemObjectReader.Mode mode = IChemObjectReader.Mode.RELAXED;
protected Mode mode = Mode.RELAXED;
protected IChemObjectReaderErrorHandler errorHandler = null;

@Override
Expand All @@ -55,7 +53,7 @@ public void remove() {
}

@Override
public void setReaderMode(ISimpleChemObjectReader.Mode mode) {
public void setReaderMode(Mode mode) {
this.mode = mode;
}

Expand Down
Expand Up @@ -33,7 +33,7 @@
* @cdk.module io
* @cdk.githash
*
* @see org.openscience.cdk.io.IChemObjectIO
* @see IChemObjectIO
*
* @author Egon Willighagen &lt;egonw@sci.kun.nl&gt;
* @cdk.created 2005-01-25
Expand Down
Expand Up @@ -18,15 +18,15 @@
*/
package org.openscience.cdk.io.listener;

import org.openscience.cdk.exception.CDKException;
import org.openscience.cdk.io.ReaderEvent;
import org.openscience.cdk.io.setting.IOSetting;

import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.io.Writer;
import java.util.Properties;

import org.openscience.cdk.exception.CDKException;
import org.openscience.cdk.io.ReaderEvent;
import org.openscience.cdk.io.setting.IOSetting;

/**
* Answers the questions by looking up the values in a Properties
* object. The question names match the property field names.
Expand Down

0 comments on commit 0c95334

Please sign in to comment.