Methods Summary |
---|
public int[] | getComplete()
return( complete );
|
public int[] | getDownloaded()
return( downloaded );
|
public int[] | getIncomplete()
return( incomplete );
|
public java.lang.String | getString()
String data = "";
for (int i=0;i<complete.length;i++){
data += (i==0?"":",") + complete[i] + "/" + incomplete[i] + "/" + downloaded[i];
}
return( super.getString()+"[entries="+complete.length+"=" + data +"]");
|
public void | serialise(java.io.DataOutputStream os)
super.serialise(os);
// os.writeInt( interval );
if ( complete != null ){
for (int i=0;i<complete.length;i++){
os.writeInt( complete[i] );
os.writeInt( downloaded[i] );
os.writeInt( incomplete[i] );
}
}
|
public void | setDetails(int[] _complete, int[] _downloaded, int[] _incomplete)
complete = _complete;
downloaded = _downloaded;
incomplete = _incomplete;
|