Package | Description |
---|---|
com.dropbox.core |
Modifier and Type | Class and Description |
---|---|
static class |
DbxEntry.File
The subclass of
DbxEntry used to represent file metadata (as opposed
to folder metadata). |
static class |
DbxEntry.Folder
The subclass of
DbxEntry used to represent folder metadata. |
Modifier and Type | Field and Description |
---|---|
DbxEntry |
DbxEntry.WithChildren.entry
The metadata for the base file or folder.
|
DbxEntry |
DbxEntry.WithChildrenC.entry |
Modifier and Type | Field and Description |
---|---|
List<DbxEntry> |
DbxEntry.WithChildren.children
If
DbxEntry.WithChildren.entry is a folder, this will contain the metadata of the folder's
immediate children. |
static JsonReader<DbxEntry> |
DbxEntry.Reader |
static JsonReader<DbxEntry> |
DbxEntry.ReaderMaybeDeleted |
Modifier and Type | Method and Description |
---|---|
DbxEntry |
DbxClient.copy(String fromPath,
String toPath)
Copy a file or folder from one path in Dropbox to another path in Dropbox.
|
DbxEntry |
DbxClient.copyFromCopyRef(String copyRef,
String toPath)
Create a file or folder at
toPath based on the given copy ref (created with
DbxClient.createCopyRef(java.lang.String) ). |
DbxEntry |
DbxClient.getMetadata(String path)
Get the file or folder metadata for a given path.
|
DbxEntry |
DbxClient.move(String fromPath,
String toPath)
Move a file or folder from one path in Dropbox to another path in Dropbox.
|
Modifier and Type | Method and Description |
---|---|
DbxDelta<DbxEntry> |
DbxClient.getDelta(String cursor)
Return "delta" entries for the contents of a user's Dropbox.
|
DbxDelta<DbxEntry> |
DbxClient.getDeltaWithPathPrefix(String cursor,
String pathPrefix)
Same as
DbxClient.getDelta(java.lang.String) , except results are limited to files and folders whose
paths are equal to or under the specified pathPrefix . |
List<DbxEntry> |
DbxClient.searchFileAndFolderNames(String basePath,
String query)
Returns metadata for all files and folders whose name matches the query string.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
DbxEntry.partialEquals(DbxEntry o) |
Modifier and Type | Method and Description |
---|---|
<C> DbxDeltaC<C> |
DbxClient.getDeltaC(Collector<DbxDeltaC.Entry<DbxEntry>,C> collector,
String cursor)
A more generic version of
DbxClient.getDelta(java.lang.String) . |
<C> DbxDeltaC<C> |
DbxClient.getDeltaCWithPathPrefix(Collector<DbxDeltaC.Entry<DbxEntry>,C> collector,
String cursor,
String pathPrefix)
A more generic version of
DbxClient.getDeltaWithPathPrefix(java.lang.String, java.lang.String) . |
<C> DbxEntry.WithChildrenC<C> |
DbxClient.getMetadataWithChildrenC(String path,
Collector<DbxEntry,? extends C> collector)
Same as
DbxClient.getMetadataWithChildren(java.lang.String) except instead of always returning a list of
DbxEntry objects, you specify a Collector that processes the DbxEntry
objects one by one and aggregates them however you want. |
<C> Maybe<DbxEntry.WithChildrenC<C>> |
DbxClient.getMetadataWithChildrenIfChangedC(String path,
String previousFolderHash,
Collector<DbxEntry,? extends C> collector)
Same as
DbxClient.getMetadataWithChildrenIfChanged(java.lang.String, java.lang.String) except instead of always returning a list of
DbxEntry objects, you specify a Collector that processes the DbxEntry
objects one by one and aggregates them however you want. |
static <C> DbxEntry.WithChildrenC<C> |
DbxEntry.read(com.fasterxml.jackson.core.JsonParser parser,
Collector<DbxEntry,? extends C> collector) |
static <C> DbxEntry.WithChildrenC<C> |
DbxEntry.readMaybeDeleted(com.fasterxml.jackson.core.JsonParser parser,
Collector<DbxEntry,? extends C> collector) |
Constructor and Description |
---|
DbxEntry.WithChildren(DbxEntry entry,
String hash,
List<DbxEntry> children) |
DbxEntry.WithChildrenC(DbxEntry entry,
String hash,
C children) |
Constructor and Description |
---|
DbxEntry.WithChildren(DbxEntry entry,
String hash,
List<DbxEntry> children) |
DbxEntry.WithChildrenC.Reader(Collector<DbxEntry,? extends C> collector) |
DbxEntry.WithChildrenC.ReaderMaybeDeleted(Collector<DbxEntry,? extends C> collector) |
Copyright © 2014. All rights reserved.