Class DbxEntry

java.lang.Object
com.dropbox.core.util.Dumpable
com.dropbox.core.v1.DbxEntry
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DbxEntry.File, DbxEntry.Folder

public abstract class DbxEntry extends Dumpable implements Serializable
Holds the metadata for a Dropbox file system entry. Can either be a regular file or a folder.
See Also:
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • name

      public final String name
      Just the last part of path. Derived automatically from path.
      See Also:
    • path

      public final String path
      The path to the file or folder, relative to your application's root. The path always starts with a "/".

      For full-Dropbox apps, the path is relative to the root of the user's Dropbox. For App Folder apps, the path is relative to your application's App Folder within the user's Dropbox.

    • iconName

      public final String iconName
      The name of the icon to use for this file. The set of names returned by this call match up with icons in a set of icons provided by Dropbox. Read more about the icon field in Dropbox's documentation for the /metadata HTTP endpoint.
    • mightHaveThumbnail

      public final boolean mightHaveThumbnail
      Whether this file or folder might have a thumbnail image you can retrieve via the DbxClientV1.getThumbnail call. If this is true, there might be a thumbnail available. If this is false, there is definitely no thumbnail available.
    • Reader

      public static final JsonReader<DbxEntry> Reader
    • ReaderMaybeDeleted

      public static final JsonReader<DbxEntry> ReaderMaybeDeleted
  • Method Details