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

boolean org::openscience::cdk::io::formats::Mol2Format::matches ( int  lineNumber,
String  line 
) [inline]

Method that checks whether the given line is part of the format read by this reader.

lineNumbernumber of the line
lineline in the file being checked
true if the line is of a file format read by this reader

Implements org::openscience::cdk::io::formats::IChemFormatMatcher.

Definition at line 77 of file Mol2Format.java.

        if (line.indexOf("<TRIPOS>") >= 0) {
            return true;
        return false;

Generated by  Doxygen 1.6.0   Back to index