public static String formatPeerStatus(PeerDownloadInfo downloadInfo) {
if (downloadInfo == null)
return _
._("downloadinfowindow.tab.peerlist.column.status.connecting");
PeerDownloadStatus status = downloadInfo.getStatus();
if (status == null)
return _
._("downloadinfowindow.tab.peerlist.column.status.connecting");
switch (status) {
case DISCONNECTED: