All Superinterfaces:
Comparable<ICCPart>, ICCBase, ICCCoverageDataBasic, ICCPart, ICCPercentItem, ICCStatementDataBasic, ICCTreeItem

public interface ICCImportPart extends ICCPart
Since:
4.0
  • Method Details

    • setLanguage

      void setLanguage(int language)
      see ICCConstants for a list of language constants
      Parameters:
      language - programming language
    • setDebuggable

      void setDebuggable()
      Set the part as having debug info, by default parts are not considered debuggable
    • setHit

      void setHit()
      Mark as hit
    • createFile

      ICCImportFile createFile(String name) throws CCImportException
      Create a file that has this part as its parent
      Parameters:
      name - file name
      Returns:
      created file
      Throws:
      CCFileExistsException - if the file already exists, the existing file can be retrieved from the exception
      CCImportException
      Since:
      9.0
    • addFile

      boolean addFile(ICCImportFile file)
      Adds an existing file to this part This can be used where the caller wants to add the same file to 2 or more parts
      Parameters:
      file - existing file
      Returns:
      true if the file was added, false if it already existed
      Since:
      9.0