public class ProgressInfo
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ProgressInfo.Direction
Direction of the stream.
|
| Modifier and Type | Field and Description |
|---|---|
long |
currentBytes |
ProgressInfo.Direction |
direction |
java.lang.String |
fileName |
java.net.InetAddress |
peer |
long |
totalBytes |
| Constructor and Description |
|---|
ProgressInfo(java.net.InetAddress peer,
java.lang.String fileName,
ProgressInfo.Direction direction,
long currentBytes,
long totalBytes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
ProgressInfo is considered to be equal only when all attributes except currentBytes are equal.
|
int |
hashCode() |
boolean |
isCompleted() |
java.lang.String |
toString() |
public final java.net.InetAddress peer
public final java.lang.String fileName
public final ProgressInfo.Direction direction
public final long currentBytes
public final long totalBytes
public ProgressInfo(java.net.InetAddress peer,
java.lang.String fileName,
ProgressInfo.Direction direction,
long currentBytes,
long totalBytes)
public boolean isCompleted()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015 The Apache Software Foundation