public ProgressListenerChain(ProgressListener... listeners) {
   for (ProgressListener listener : listeners) addProgressListener(listener);
 }
示例#2
0
 /**
  * Adds the specified progress listener to the list of listeners receiving updates about this
  * transfer's progress.
  *
  * @param listener The progress listener to add.
  */
 public synchronized void addProgressListener(ProgressListener listener) {
   progressListenerChain.addProgressListener(listener);
 }