Logo Search packages:      
Sourcecode: cdk version File versions  Download package

boolean org::openscience::cdk::io::MACiEReader::accepts ( Class  classObject  )  [inline]

Returns whether the given IChemObject can be read or not.

Implements org::openscience::cdk::io::IChemObjectIO.

Definition at line 163 of file MACiEReader.java.

            Class[] interfaces = classObject.getInterfaces();
            for (int i=0; i<interfaces.length; i++) {
                  if (IChemModel.class.equals(interfaces[i])) return true;
                  if (IChemFile.class.equals(interfaces[i])) return true;
                  if (IChemSequence.class.equals(interfaces[i])) return true;
            return false;

Generated by  Doxygen 1.6.0   Back to index