java.lang.Object
com.ibm.debug.pdt.codecoverage.core.results.importers.CCImportUtils

public class CCImportUtils extends Object
Common Import Utilities
Since:
10.0
  • Constructor Details

    • CCImportUtils

      public CCImportUtils()
  • Method Details

    • readUUID

      public static void readUUID(Element element, ICCTreeItem artifact)
      If it exists, the UUID attribute is read and assigned to the artifact.
      Parameters:
      element - read UUID from this element
      artifact - if UUID is read then set to this artifact
    • getFileExtension

      public static String getFileExtension(ICCFile ccFile)
      Given an ICCFile return an extension that represents the language
      Parameters:
      ccFile - extension will be returned that matches this file
      Returns:
      an extension (with leading .) or empty string if language doesn't match