public final class DbxFileInfo extends java.lang.Object implements java.lang.Comparable<DbxFileInfo>
DbxFileInfo
provides a default comparison with path first, suitable for use
in collections.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
iconName
The name of an appropriate icon to display for the file, taken from the
Dropbox icon library.
|
boolean |
isFolder
Whether this is a folder.
|
java.util.Date |
modifiedTime
The time that this file was last modified based on the system clock of
the local device, not Dropbox's servers.
|
DbxPath |
path
The path to the file or folder.
|
long |
size
The size, in bytes, of the file content.
|
boolean |
thumbExists
Whether a thumbnail can be requested from the server for this file.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DbxFileInfo other) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public final DbxPath path
public final boolean isFolder
public final long size
public final java.util.Date modifiedTime
public final boolean thumbExists
public final java.lang.String iconName
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(DbxFileInfo other)