public String getTorrentName() { return TorrentUtils.getLocalisedName(torrent); }
public String getTorrentName() { if (torrentName == null) { if (dm != null) { return PlatformTorrentUtils.getContentTitle2(dm); } if (torrent != null) { return TorrentUtils.getLocalisedName(torrent); } } return torrentName; }
@Override public void widgetSelected(SelectionEvent e) { txtInput.setText(TorrentUtils.getLocalisedName(dm.getTorrent())); }
LogAlert.REPEATABLE, LogAlert.AT_ERROR, "Recovered download from original torrent: " + TorrentUtils.getLocalisedName(torrent_file)));
+ TorrentUtils.getLocalisedName(torrent) + "'"));
String torrent_name = FileUtil.convertOSSpecificChars( TorrentUtils.getLocalisedName( torrent ) + ".torrent", false );
String name = TorrentUtils.getLocalisedName( torrent ) + ".torrent";
name = TorrentUtils.getLocalisedName( ht.getTorrent());
resource = TorrentUtils.getLocalisedName( torrent ) + "\n" + _resource; }else{
protected void save( boolean force ) { if ( supressWrites > 0 && !force ){ return; } boolean do_write; try{ this_mon.enter(); do_write = write_required; write_required = false; }finally{ this_mon.exit(); } if ( do_write ){ try { // System.out.println( "writing download state for '" + new String(torrent.getName())); if (Logger.isEnabled()) Logger.log(new LogEvent(torrent, LOGID, "Saving state for download '" + TorrentUtils.getLocalisedName(torrent) + "'")); torrent.setAdditionalMapProperty( ATTRIBUTE_KEY, attributes ); TorrentUtils.writeToFile(torrent, true); } catch (Throwable e) { Logger.log(new LogEvent(torrent, LOGID, "Saving state", e)); } } else { // System.out.println( "not writing download state for '" + new String(torrent.getName())); } }
details = TorrentUtils.getLocalisedName( torrent ); is_tracker = true;
display_name = FileUtil.convertOSSpecificChars(TorrentUtils.getLocalisedName(torrent),false);
TRHostTorrent item = (TRHostTorrent) cell.getDataSource(); String name = (item == null) ? "" : TorrentUtils.getLocalisedName(item.getTorrent());
TOTorrent torrent = getTorrent(); if (torrent != null) { sc.setDisplayName(TorrentUtils.getLocalisedName(torrent)); sc.setHash(torrent.getHashWrapper().toBase32String());