Package com.dropbox.core.util
Class Dumpable
- java.lang.Object
- 
- com.dropbox.core.util.Dumpable
 
- 
- Direct Known Subclasses:
- DbxAccountInfo,- DbxAccountInfo.NameDetails,- DbxAccountInfo.Quota,- DbxAppInfo,- DbxDelta,- DbxDelta.Entry,- DbxDeltaC,- DbxDeltaC.Entry,- DbxEntry,- DbxEntry.File.Location,- DbxEntry.File.PhotoInfo,- DbxEntry.File.VideoInfo,- DbxEntry.WithChildren,- DbxEntry.WithChildrenC
 
 public abstract class Dumpable extends java.lang.ObjectA common superclass for pure-data classes. Contains a function to dump the data (for debugging purposes).
- 
- 
Constructor SummaryConstructors Constructor Description Dumpable()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voiddumpFields(DumpWriter out)protected java.lang.StringgetTypeName()java.lang.StringtoString()voidtoString(java.lang.StringBuilder buf)java.lang.StringtoStringMultiline()LiketoString()except returns a multi-line string.voidtoStringMultiline(java.lang.StringBuilder buf, int currentIndent, boolean nl)LiketoStringMultiline(), but appends the result tobufinstead of returning a string.
 
- 
- 
- 
Method Detail- 
toStringpublic final java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringpublic final void toString(java.lang.StringBuilder buf) 
 - 
toStringMultilinepublic final java.lang.String toStringMultiline() LiketoString()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. 
 - 
toStringMultilinepublic final void toStringMultiline(java.lang.StringBuilder buf, int currentIndent, boolean nl)LiketoStringMultiline(), but appends the result tobufinstead 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. - Parameters:
- currentIndent- The number of spaces to use as the initial indentation level.
- nl- Whether you will start displaying this value on its own line (and will need indentation on the first line) or not.
 
 - 
getTypeNameprotected java.lang.String getTypeName() 
 - 
dumpFieldsprotected abstract void dumpFields(DumpWriter out) 
 
- 
 
-