Package org.openscience.cdk.io

Examples of org.openscience.cdk.io.FormatFactory


           * created problems (when applet shrunk with Yguard) because of the classloader
           * used in the ReaderFactory, runtime errors.
           * Instead, we avoid ReaderFactory and pick the right reader below ourselves. */
         
          Reader input = new BufferedReader(getReader(url));
          FormatFactory formatFactory = new FormatFactory(8192);
          IChemFormat format=formatFactory.guessFormat(input);
         
          if (format!=null) {
            if (format instanceof RGroupQueryFormat ) {
                  cor = new RGroupQueryReader();
              cor.setReader(input);
View Full Code Here

TOP

Related Classes of org.openscience.cdk.io.FormatFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.