public static final class DbxEntry.WithChildrenC<C> extends Dumpable implements Serializable
DbxEntry.WithChildren
. It's used in the C
-suffixed
variants (DbxClient.getMetadataWithChildrenC(java.lang.String, com.dropbox.core.util.Collector<com.dropbox.core.DbxEntry, ? extends C>)
and DbxClient.getMetadataWithChildrenIfChanged(java.lang.String, java.lang.String)
to allow you to process the DbxEntry
values as the come in and aggregate them into
your own object (instead of the default List
) using a custom Collector
.Modifier and Type | Class and Description |
---|---|
static class |
DbxEntry.WithChildrenC.Reader<C> |
static class |
DbxEntry.WithChildrenC.ReaderMaybeDeleted<C> |
Modifier and Type | Field and Description |
---|---|
C |
children
If
entry is a folder, this will contain the metadata of the folder's
immediate children. |
DbxEntry |
entry |
String |
hash
If
entry is a folder, this will contain a hash that identifies the folder's
contents. |
static long |
serialVersionUID |
Constructor and Description |
---|
DbxEntry.WithChildrenC(DbxEntry entry,
String hash,
C children) |
Modifier and Type | Method and Description |
---|---|
protected void |
dumpFields(DumpWriter w) |
boolean |
equals(DbxEntry.WithChildrenC o) |
boolean |
equals(Object o) |
int |
hashCode() |
getTypeName, toString, toString, toStringMultiline, toStringMultiline
public static final long serialVersionUID
public final DbxEntry entry
public final String hash
entry
is a folder, this will contain a hash that identifies the folder's
contents. This value can be used with DbxClient.getMetadataWithChildrenIfChanged(java.lang.String, java.lang.String)
to void downloading the folder contents if they havne't changed.public boolean equals(DbxEntry.WithChildrenC o)
protected void dumpFields(DumpWriter w)
dumpFields
in class Dumpable
Copyright © 2014. All rights reserved.