Package samples

Class TestFileStream

java.lang.Object
samples.TestFileStream

public class TestFileStream extends Object
Illustrates how to retrieve the contents of a file from the cc data This will only work if the source/listing was saved at the time of capture If using a command line then enter the following
java -cp ".;".;./plugins/com.ibm.debug.pdt.codecoverage.core.results_<version>/lib/ccapi.jar" " samples.TestFileStream "path to cc data file or directory"
  • Constructor Details

    • TestFileStream

      public TestFileStream()
  • Method Details

    • main

      public static void main(String[] args)
      one or more paths to a directory of file that contains cc data
      Parameters:
      args - arguments