com.atlassian.clover.spi.reporters.html.source

## Interface HtmlRenderingSupport

-     public interface HtmlRenderingSupport

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getPackageRelPath(java.lang.String pkgA, java.lang.String pkgB)`
    `java.lang.String` | `getRootRelPath(java.lang.String aPkg)`
    `java.lang.StringBuffer` | `getSrcFileLink(boolean toplevel, boolean withAnchor, ClassInfo classInfo)` Get a link to a source file for a given class, e.g.
    `java.lang.String` | `htmlEscapeStr(java.lang.String aString, java.lang.String tabString, java.lang.String spaceString)`

- - ### Method Detail

    - #### htmlEscapeStr

          java.lang.String htmlEscapeStr(java.lang.String aString,
                                         java.lang.String tabString,
                                         java.lang.String spaceString)

    - #### getPackageRelPath

          java.lang.String getPackageRelPath(java.lang.String pkgA,
                                             java.lang.String pkgB)

    - #### getRootRelPath

          java.lang.String getRootRelPath(java.lang.String aPkg)

    - #### getSrcFileLink

          java.lang.StringBuffer getSrcFileLink(boolean toplevel,
                                                boolean withAnchor,
                                                ClassInfo classInfo)

      Get a link to a source file for a given class, e.g. "com/abc/A.java#A"
      Parameters:
        `toplevel` - whether we need a link to a file from a top level (will contain package path) or not (will have a link to file only)
        `withAnchor` - whether link should contain an anchor to the clas
        `classInfo` - class we want a link for
      Returns:
        StringBuffer