public class ConsoleTransferListener extends AbstractTransferListener
Constructor and Description |
---|
ConsoleTransferListener() |
ConsoleTransferListener(PrintStream out) |
Modifier and Type | Method and Description |
---|---|
protected long |
toKB(long bytes) |
void |
transferCorrupted(TransferEvent event) |
void |
transferFailed(TransferEvent event) |
void |
transferInitiated(TransferEvent event) |
void |
transferProgressed(TransferEvent event) |
void |
transferSucceeded(TransferEvent event) |
transferStarted
public ConsoleTransferListener()
public ConsoleTransferListener(PrintStream out)
public void transferInitiated(TransferEvent event)
transferInitiated
in interface TransferListener
transferInitiated
in class AbstractTransferListener
public void transferProgressed(TransferEvent event)
transferProgressed
in interface TransferListener
transferProgressed
in class AbstractTransferListener
public void transferSucceeded(TransferEvent event)
transferSucceeded
in interface TransferListener
transferSucceeded
in class AbstractTransferListener
public void transferFailed(TransferEvent event)
transferFailed
in interface TransferListener
transferFailed
in class AbstractTransferListener
public void transferCorrupted(TransferEvent event)
transferCorrupted
in interface TransferListener
transferCorrupted
in class AbstractTransferListener
protected long toKB(long bytes)
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.