Package com.dropbox.core.v1
Class DbxEntry.WithChildrenC<C>
- java.lang.Object
- 
- com.dropbox.core.util.Dumpable
- 
- com.dropbox.core.v1.DbxEntry.WithChildrenC<C>
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 - Enclosing class:
- DbxEntry
 
 public static final class DbxEntry.WithChildrenC<C> extends Dumpable implements java.io.Serializable The more general case ofDbxEntry.WithChildren. It's used in theC-suffixed variants (DbxClientV1.getMetadataWithChildrenC(java.lang.String, boolean, com.dropbox.core.util.Collector<com.dropbox.core.v1.DbxEntry, ? extends C>)andDbxClientV1.getMetadataWithChildrenIfChanged(java.lang.String, boolean, java.lang.String)to allow you to process theDbxEntryvalues as the come in and aggregate them into your own object (instead of the defaultList) using a customCollector.- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDbxEntry.WithChildrenC.Reader<C>static classDbxEntry.WithChildrenC.ReaderMaybeDeleted<C>
 - 
Field SummaryFields Modifier and Type Field Description CchildrenIfentryis a folder, this will contain the metadata of the folder's immediate children.DbxEntryentryjava.lang.StringhashIfentryis a folder, this will contain a hash that identifies the folder's contents.static longserialVersionUID
 - 
Constructor SummaryConstructors Constructor Description WithChildrenC(DbxEntry entry, java.lang.String hash, C children)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddumpFields(DumpWriter w)booleanequals(DbxEntry.WithChildrenC<?> o)booleanequals(java.lang.Object o)inthashCode()- 
Methods inherited from class com.dropbox.core.util.DumpablegetTypeName, toString, toString, toStringMultiline, toStringMultiline
 
- 
 
- 
- 
- 
Field Detail- 
serialVersionUIDpublic static final long serialVersionUID - See Also:
- Constant Field Values
 
 - 
entrypublic final DbxEntry entry 
 - 
hashpublic final java.lang.String hash Ifentryis a folder, this will contain a hash that identifies the folder's contents. This value can be used withDbxClientV1.getMetadataWithChildrenIfChanged(java.lang.String, boolean, java.lang.String)to void downloading the folder contents if they havne't changed.
 
- 
 - 
Method Detail- 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
equalspublic boolean equals(DbxEntry.WithChildrenC<?> o) 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
dumpFieldsprotected void dumpFields(DumpWriter w) - Specified by:
- dumpFieldsin class- Dumpable
 
 
- 
 
-