private String readCommand ( String line ) throws CDKException { if ( line . startsWith ( "M V30 " ) ) { String command = line . substring ( 7 ) ; if ( command . endsWith ( "-" ) ) { command = command . substring ( 0 , command . length ( ) - 1 ) ; command += readCommand ( readLine ( ) ) ; } return command ; } else { throw new CDKException ( "Could not read MDL file: unexpected line: " + line ) ; } }
Reads the command on this line . If the line is continued on the next that part is added .