Code example for FileReader

0
      pPartition = PhysicalPartition.parsePhysicalPartitionString(physicalParitionParameter, "_");
    } 
 
    boolean startWin = Boolean.valueOf(startWinStr);
 
    BufferedReader in = new BufferedReader(new FileReader(fileStr));
 
    try 
    { 
      //PhysicalPartition pPartition = new PhysicalPartition(physicalPartitionId); 
      // TODO this should actually use DbusEventBufferAppendable (DDSDBUS-78) 
      DbusEventBuffer buf = (DbusEventBuffer)_eventBuffer.getDbusEventBufferAppendable(pPartition);
      if(buf == null)
        throw new RequestProcessingException("cannot find buffer for ph. partion " + pPartition);
 
      if ((buf.getMinScn() < 0) && (buf.getPrevScn() < 0)) buf.start(0);
 
      try 
      { 
        DbusEventsStatisticsCollector statsCollector = _relay.getInBoundStatsCollectors().getStatsCollector(pPartition.toSimpleString());