public class SimpleRecord extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleRecord.NameValue |
| Modifier and Type | Field and Description |
|---|---|
static int |
TAB_SIZE |
protected List<SimpleRecord.NameValue> |
values |
| Constructor and Description |
|---|
SimpleRecord() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String name,
Object value) |
List<SimpleRecord.NameValue> |
getValues() |
void |
prettyPrint() |
void |
prettyPrint(PrintWriter out) |
void |
prettyPrint(PrintWriter out,
int depth) |
void |
prettyPrintJson(PrintWriter out) |
protected Object |
toJsonObject() |
protected static Object |
toJsonValue(Object val) |
String |
toString() |
public static final int TAB_SIZE
protected final List<SimpleRecord.NameValue> values
public List<SimpleRecord.NameValue> getValues()
public void prettyPrint()
public void prettyPrint(PrintWriter out)
public void prettyPrint(PrintWriter out, int depth)
public void prettyPrintJson(PrintWriter out) throws IOException
IOExceptionprotected Object toJsonObject()
Copyright © 2016 The Apache Software Foundation. All rights reserved.