public final class LogUtil
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static java.lang.String |
formatFileString(java.lang.String template,
int linenum,
int colnum) |
Simply creates a string that formats the template filename with line
number and column.
|
static java.lang.String |
formatFileString(AbstractVmNode node) |
Creates a string that formats the template filename with line number and
column of the given Node.
|
static java.lang.String |
formatFileString(Directive directive) |
Creates a string that formats the template filename with line number and
column of the given Directive.
|
public static java.lang.String formatFileString(Directive directive)
public static java.lang.String formatFileString(AbstractVmNode node)
public static java.lang.String formatFileString(java.lang.String template, int linenum, int colnum)
template
- File name of template, can be nulllinenum
- Line number within the filecolnum
- Column number withing the file at linenumCopyright © 2002–2018 PMD. All rights reserved.