public abstract class DbxDataObject extends Object
Constructor and Description |
---|
DbxDataObject() |
Modifier and Type | Method and Description |
---|---|
void |
dump(DumpWriter out) |
static void |
dump(DumpWriter out,
Collection<? extends DbxDataObject> v) |
static void |
dump(DumpWriter out,
Date v) |
static void |
dump(DumpWriter out,
DbxDataObject v) |
static void |
dump(DumpWriter out,
String v) |
protected abstract void |
dumpFields(DumpWriter out) |
protected String |
getTypeName() |
static String |
toStringDate(Date date) |
String |
toStringMultiline()
Like
Object.toString() except returns a multi-line string. |
void |
toStringMultiline(StringBuilder buf,
int currentIndent)
Like
toStringMultiline() , but appends the result to buf
instead of returning a string. |
public final String toStringMultiline()
Object.toString()
except returns a multi-line string. Every line will
always end in a "\n"
.
Don't depend on the format of the output to stay the same. Newer versions of the SDK may change the format.
public final void toStringMultiline(StringBuilder buf, int currentIndent)
toStringMultiline()
, but appends the result to buf
instead of returning a string.
Don't depend on the format of the output to stay the same. Newer versions of the SDK may change the format.
currentIndent
- The number of spaces to use as the initial indentation level.public final void dump(DumpWriter out)
protected String getTypeName()
protected abstract void dumpFields(DumpWriter out)
public static void dump(DumpWriter out, DbxDataObject v)
public static void dump(DumpWriter out, Date v)
public static void dump(DumpWriter out, Collection<? extends DbxDataObject> v)
public static void dump(DumpWriter out, String v)
Copyright © 2013. All rights reserved.