public class ForestProgress extends Object
Constructor and Description |
---|
ForestProgress(ForestRequest request,
long totalBytes) |
Modifier and Type | Method and Description |
---|---|
long |
getCurrentBytes() |
double |
getRate() |
ForestRequest |
getRequest() |
long |
getTotalBytes() |
boolean |
isBegin() |
boolean |
isDone() |
void |
setBegin(boolean begin) |
void |
setCurrentBytes(long currentBytes) |
void |
setDone(boolean done) |
public ForestProgress(ForestRequest request, long totalBytes)
public ForestRequest getRequest()
public void setCurrentBytes(long currentBytes)
public long getCurrentBytes()
public long getTotalBytes()
public double getRate()
public boolean isBegin()
public void setBegin(boolean begin)
public void setDone(boolean done)
public boolean isDone()
Copyright © 2020. All rights reserved.