public class TextValueFormatter extends ValueFormatter
dateFormat, decimalFormat, integerFormat, percent_pattern, percentFormat, unitsFormat| Constructor and Description |
|---|
TextValueFormatter(URLQueryModel model) |
| Modifier and Type | Method and Description |
|---|---|
String |
value(ICounter counter,
Object val)
Formats a counter value as a String.
|
void |
writeFullPath(Writer w,
String path)
Write the full counter path.
|
void |
writePath(Writer w,
String path,
int rootDepth)
Write a partial counter path.
|
datepublic TextValueFormatter(URLQueryModel model)
public String value(ICounter counter, Object val)
ValueFormattervalue in class ValueFormattercounter - The counter.public void writeFullPath(Writer w, String path) throws IOException
ValueFormatterwriteFullPath in class ValueFormatterIOExceptionpublic void writePath(Writer w, String path, int rootDepth) throws IOException
ValueFormatterwritePath in class ValueFormatterrootDepth - The path components will be shown beginning at this depth -
ZERO (0) is the root.IOExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.