private void parseCleartoolOutput()

in src/net/sourceforge/transparent/StatusMultipleProcessor.java [134:159]


  private void parseCleartoolOutput( final String out, int startIndex )
  {
    int shiftIndex = 0;
    String[] lines = LineTokenizer.tokenize( out, false );

    for( String line : lines )
    {
      if( line.indexOf( WARNING_TO_SKIP_SIG ) == -1 )
      {
        final int versIdx = line.indexOf(VERSIONED_SIG);
        if( versIdx == -1) {
          nonexistingFiles.add(line.replace('\\', '/'));
        } else if( line.indexOf( CHECKEDOUT_SIG ) != -1) {
          checkoutFiles.add(filePathFromLine(line, versIdx));
          // todo verify what below
        } else if (line.indexOf(LOCALLY_DELETED) != -1 || line.indexOf( CHECKEDOUT_REMOVED_SIG ) != -1) {
          locallyDeleted.add(filePathFromLine(line, versIdx));
        } else if( line.indexOf( HIJACKED_SIG ) != -1 )
          hijackedFiles.add(filePathFromLine(line, versIdx));

        //  inc it only in the case of "known" line format. Assume that information
        //  about files is printed in the order of input parameters (silly?).
        shiftIndex++;
      }
    }
  }