com.dropbox.client2
Class DropboxAPI.DropboxFileInfo

java.lang.Object
  extended by com.dropbox.client2.DropboxAPI.DropboxFileInfo
Enclosing class:
DropboxAPI<SESS_T extends Session>

public static final class DropboxAPI.DropboxFileInfo
extends java.lang.Object

Contains info describing a downloaded file.


Method Summary
 java.lang.String getCharset()
          Returns the charset of the associated file, or null if it is unknown.
 long getContentLength()
          Deprecated. Replaced by getFileSize()
 long getFileSize()
          Returns the size of the file in bytes (always >= 0).
 DropboxAPI.Entry getMetadata()
          Returns the metadata of the associated file (always non-null).
 java.lang.String getMimeType()
          Returns the MIME type of the associated file, or null if it is unknown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMimeType

public final java.lang.String getMimeType()
Returns the MIME type of the associated file, or null if it is unknown.


getContentLength

@Deprecated
public final long getContentLength()
Deprecated. Replaced by getFileSize()


getFileSize

public final long getFileSize()
Returns the size of the file in bytes (always >= 0).


getCharset

public final java.lang.String getCharset()
Returns the charset of the associated file, or null if it is unknown.


getMetadata

public final DropboxAPI.Entry getMetadata()
Returns the metadata of the associated file (always non-null).