|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.web.util.SourceFormatter
public class SourceFormatter
Source code formatting utility
| Constructor Summary | |
|---|---|
SourceFormatter()
|
|
| Method Summary | |
|---|---|
static com.intellij.openapi.util.Pair<java.lang.String,java.lang.Integer> |
formatSource(java.lang.String name,
java.lang.String text,
java.lang.String parentNodeId,
boolean tryColorer,
int startLine)
Tries to highlight and then formats source code as HTML numbered list |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SourceFormatter()
| Method Detail |
|---|
public static com.intellij.openapi.util.Pair<java.lang.String,java.lang.Integer> formatSource(java.lang.String name,
java.lang.String text,
java.lang.String parentNodeId,
boolean tryColorer,
int startLine)
name - source file name to help deduce languagetext - source textparentNodeId - list node idtryColorer - try to highlightstartLine - list start line number
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||