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.
|
date
public TextValueFormatter(URLQueryModel model)
public String value(ICounter counter, Object val)
ValueFormatter
value
in class ValueFormatter
counter
- The counter.public void writeFullPath(Writer w, String path) throws IOException
ValueFormatter
writeFullPath
in class ValueFormatter
IOException
public void writePath(Writer w, String path, int rootDepth) throws IOException
ValueFormatter
writePath
in class ValueFormatter
rootDepth
- The path components will be shown beginning at this depth -
ZERO (0) is the root.IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.