public abstract class DumpWriter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DumpWriter.Multiline |
static class |
DumpWriter.Plain |
Constructor and Description |
---|
DumpWriter() |
Modifier and Type | Method and Description |
---|---|
DumpWriter |
field(String name,
boolean v) |
DumpWriter |
field(String name,
Date v) |
DumpWriter |
field(String name,
Dumpable v) |
DumpWriter |
field(String name,
int v) |
DumpWriter |
field(String name,
long v) |
DumpWriter |
field(String name,
String v) |
abstract DumpWriter |
fieldStart(String name) |
DumpWriter |
fieldVerbatim(String name,
String s) |
DumpWriter |
list(Iterable<? extends Dumpable> list) |
abstract DumpWriter |
listEnd() |
abstract DumpWriter |
listStart() |
abstract DumpWriter |
recordEnd() |
abstract DumpWriter |
recordStart(String name) |
static String |
toStringDate(Date date) |
DumpWriter |
value(boolean v) |
DumpWriter |
value(Date v) |
DumpWriter |
value(Dumpable v) |
DumpWriter |
value(int v) |
DumpWriter |
value(long v) |
DumpWriter |
value(String v) |
DumpWriter |
values(Iterable<? extends Dumpable> list) |
abstract DumpWriter |
verbatim(String s) |
public abstract DumpWriter recordStart(String name)
public abstract DumpWriter recordEnd()
public abstract DumpWriter fieldStart(String name)
public abstract DumpWriter listStart()
public abstract DumpWriter listEnd()
public abstract DumpWriter verbatim(String s)
public DumpWriter fieldVerbatim(String name, String s)
public DumpWriter field(String name, String v)
public DumpWriter field(String name, int v)
public DumpWriter field(String name, long v)
public DumpWriter field(String name, boolean v)
public DumpWriter field(String name, Date v)
public DumpWriter field(String name, Dumpable v)
public DumpWriter list(Iterable<? extends Dumpable> list)
public DumpWriter value(String v)
public DumpWriter value(int v)
public DumpWriter value(long v)
public DumpWriter value(boolean v)
public DumpWriter value(Date v)
public DumpWriter value(Dumpable v)
public DumpWriter values(Iterable<? extends Dumpable> list)
Copyright © 2014. All rights reserved.