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

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

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

lineNumber number of the line
line line 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 66 of file ShelXFormat.java.

        if (line.startsWith("ZERR ") ||
            line.startsWith("TITL ")) {
            return true;
        return false;

Generated by  Doxygen 1.6.0   Back to index