public interface StreamMonitor
| Modifier and Type | Method and Description |
|---|---|
void |
notifyCompletion(URL resource)
Notify the monitor of the successful completion of a download
process.
|
void |
notifyError(URL resource,
String message)
Notify the monitor of the an error during the download
process.
|
void |
notifyUpdate(URL resource,
int expected,
int count)
Notify the monitor of the update in the download status.
|
void notifyUpdate(URL resource, int expected, int count)
resource - the name of the remote resource being downloaded.expected - the expected number of bytes to be downloaded.count - the number of bytes downloaded.void notifyCompletion(URL resource)
resource - the name of the remote resource.Copyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.