|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.thalesgroup.hudson.plugins.cppcheck.CppcheckSource
public class CppcheckSource
| Field Summary | |
|---|---|
protected static int |
SOURCE_GENERATOR_OFFSET
Offset of the source code generator. |
| Constructor Summary | |
|---|---|
CppcheckSource(hudson.model.AbstractBuild<?,?> owner,
CppcheckWorkspaceFile cppcheckWorkspaceFile)
Creates a new instance of this source code object. |
|
| Method Summary | |
|---|---|
CppcheckWorkspaceFile |
getCppcheckWorkspaceFile()
Returns the abstract Cppcheck workspace file. |
java.lang.String |
getSourceCode()
Retrieve the source code for the cppcheck source file. |
java.lang.String |
highlightSource(java.io.InputStream file)
Highlights the specified source and returns the result as an HTML string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int SOURCE_GENERATOR_OFFSET
| Constructor Detail |
|---|
public CppcheckSource(hudson.model.AbstractBuild<?,?> owner,
CppcheckWorkspaceFile cppcheckWorkspaceFile)
owner - the current build as owner of this objectcppcheckWorkspaceFile - the abstract workspace file| Method Detail |
|---|
public final java.lang.String highlightSource(java.io.InputStream file)
throws java.io.IOException
file - the source file to highlight
java.io.IOExceptionpublic java.lang.String getSourceCode()
public CppcheckWorkspaceFile getCppcheckWorkspaceFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||