public interface CefDownloadItem
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getContentDisposition()
Returns the content disposition.
(返回内容处置。)
|
long |
getCurrentSpeed()
Returns a simple speed estimate in bytes/s.
(返回以字节/秒为单位的简单速度估算值。)
|
java.util.Date |
getEndTime()
Returns the time that the download ended.
(返回下载结束的时间。)
|
java.lang.String |
getFullPath()
Returns the full path to the downloaded or downloading file.
(返回下载或下载文件的完整路径。)
|
int |
getId()
Returns the unique identifier for this download.
(返回此下载的唯一标识符。)
|
java.lang.String |
getMimeType()
Returns the mime type.
(返回mime类型。)
|
int |
getPercentComplete()
Returns the rough percent complete or -1 if the receive total size is unknown.
(返回完成的大致百分比;如果接收的总大小未知,则返回-1。)
|
long |
getReceivedBytes()
Returns the number of received bytes.
(返回接收的字节数。)
|
java.util.Date |
getStartTime()
Returns the time that the download started.
(返回下载开始的时间。)
|
java.lang.String |
getSuggestedFileName()
Returns the suggested file name.
(返回建议的文件名。)
|
long |
getTotalBytes()
Returns the total number of bytes.
(返回字节总数。)
|
java.lang.String |
getURL()
Returns the URL.
(返回URL。)
|
boolean |
isCanceled()
Returns true if the download has been canceled or interrupted.
(如果下载已被取消或中断,则返回true。)
|
boolean |
isComplete()
Returns true if the download is complete.
(如果下载完成,则返回true。)
|
boolean |
isInProgress()
Returns true if the download is in progress.
(如果下载正在进行,则返回true。)
|
boolean |
isValid()
Returns true if this object is valid.
(如果此对象有效,则返回true。)
|
java.lang.String getContentDisposition()
long getCurrentSpeed()
java.util.Date getEndTime()
java.lang.String getFullPath()
int getId()
java.lang.String getMimeType()
int getPercentComplete()
long getReceivedBytes()
java.util.Date getStartTime()
java.lang.String getSuggestedFileName()
long getTotalBytes()
java.lang.String getURL()
boolean isCanceled()
boolean isComplete()
boolean isInProgress()
boolean isValid()