⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rptorrent.java

📁 java 文件下载器。可自定义
💻 JAVA
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   RPTorrent.java

package org.gudy.azureus2.pluginsimpl.remote.torrent;

import java.io.File;
import java.net.URL;
import java.util.Map;
import org.gudy.azureus2.plugins.torrent.*;
import org.gudy.azureus2.pluginsimpl.remote.*;

public class RPTorrent extends RPObject
	implements Torrent
{

	protected transient Torrent delegate;
	public String name;
	public long size;
	public byte hash[];

	public static RPTorrent create(Torrent _delegate)
	{
		RPTorrent res = (RPTorrent)_lookupLocal(_delegate);
		if (res == null)
			res = new RPTorrent(_delegate);
		return res;
	}

	protected RPTorrent(Torrent _delegate)
	{
		super(_delegate);
		delegate = _delegate;
	}

	protected void _setDelegate(Object _delegate)
	{
		delegate = (Torrent)_delegate;
		name = delegate.getName();
		size = delegate.getSize();
		hash = delegate.getHash();
	}

	public Object _setLocal()
		throws RPException
	{
		return _fixupLocal();
	}

	public RPReply _process(RPRequest request)
	{
		String method = request.getMethod();
		throw new RPException((new StringBuilder()).append("Unknown method: ").append(method).toString());
	}

	public String getName()
	{
		return name;
	}

	public URL getAnnounceURL()
	{
		notSupported();
		return null;
	}

	public void setAnnounceURL(URL url)
	{
		notSupported();
	}

	public TorrentAnnounceURLList getAnnounceURLList()
	{
		notSupported();
		return null;
	}

	public boolean isDecentralised()
	{
		notSupported();
		return false;
	}

	public boolean isDecentralisedBackupEnabled()
	{
		notSupported();
		return false;
	}

	public void setDecentralisedBackupRequested(boolean requested)
	{
		notSupported();
	}

	public boolean isDecentralisedBackupRequested()
	{
		notSupported();
		return false;
	}

	public boolean isPrivate()
	{
		notSupported();
		return false;
	}

	public boolean wasCreatedByUs()
	{
		notSupported();
		return false;
	}

	public void setPrivate(boolean priv)
	{
		notSupported();
	}

	public byte[] getHash()
	{
		return hash;
	}

	public long getSize()
	{
		return size;
	}

	public String getComment()
	{
		notSupported();
		return null;
	}

	public void setComment(String comment)
	{
		notSupported();
	}

	public long getCreationDate()
	{
		notSupported();
		return 0L;
	}

	public String getCreatedBy()
	{
		notSupported();
		return null;
	}

	public long getPieceSize()
	{
		notSupported();
		return 0L;
	}

	public long getPieceCount()
	{
		notSupported();
		return 0L;
	}

	public byte[][] getPieces()
	{
		notSupported();
		return null;
	}

	public URL getMagnetURI()
	{
		notSupported();
		return null;
	}

	public String getEncoding()
	{
		notSupported();
		return null;
	}

	public void setEncoding(String encoding)
	{
		notSupported();
	}

	public void setDefaultEncoding()
	{
		notSupported();
	}

	public TorrentFile[] getFiles()
	{
		notSupported();
		return null;
	}

	public Object getAdditionalProperty(String name)
	{
		notSupported();
		return null;
	}

	public Torrent removeAdditionalProperties()
	{
		notSupported();
		return null;
	}

	public void setPluginStringProperty(String name, String value)
	{
		notSupported();
	}

	public String getPluginStringProperty(String name)
	{
		notSupported();
		return null;
	}

	public void setMapProperty(String name, Map value)
	{
		notSupported();
	}

	public Map getMapProperty(String name)
	{
		notSupported();
		return null;
	}

	public Map writeToMap()
		throws TorrentException
	{
		notSupported();
		return null;
	}

	public byte[] writeToBEncodedData()
		throws TorrentException
	{
		notSupported();
		return null;
	}

	public void writeToFile(File file)
		throws TorrentException
	{
		notSupported();
	}

	public void save()
		throws TorrentException
	{
		notSupported();
	}

	public void setComplete(File data_dir)
		throws TorrentException
	{
		notSupported();
	}

	public boolean isComplete()
	{
		notSupported();
		return false;
	}

	public boolean isSimpleTorrent()
	{
		notSupported();
		return false;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -