public class StringUtils extends Object
Constructor and Description |
---|
StringUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
formatFileString(Directive directive)
Creates a string that formats the template filename with line number
and column of the given Directive.
|
static String |
formatFileString(Info info)
Simply creates a string that formats the template filename with line number
and column.
|
static String |
formatFileString(Node node)
Creates a string that formats the template filename with line number
and column of the given Node.
|
static String |
formatFileString(String template,
int linenum,
int colnum)
Simply creates a string that formats the template filename with line number
and column.
|
public static String formatFileString(Directive directive)
public static String formatFileString(Node node)
public static String formatFileString(Info info)
public static String formatFileString(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 © 2000–2017 The Apache Software Foundation. All rights reserved.