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:
Serializable
- Enclosing class:
DbxEntry
The more general case of
DbxEntry.WithChildren. It's used in the C-suffixed
variants (DbxClientV1.getMetadataWithChildrenC(java.lang.String, boolean, com.dropbox.core.util.Collector<com.dropbox.core.v1.DbxEntry, ? extends C>) and DbxClientV1.getMetadataWithChildrenIfChanged(java.lang.String, boolean, 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.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbooleanequals(DbxEntry.WithChildrenC<?> o) booleaninthashCode()Methods inherited from class com.dropbox.core.util.Dumpable
getTypeName, toString, toString, toStringMultiline, toStringMultiline
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
entry
-
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. -
children
Ifentryis a folder, this will contain the metadata of the folder's immediate children. If it's not a folder, this will benull.
-
-
Constructor Details
-
Method Details