📄 torrentmanager.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: TorrentManager.java
package org.gudy.azureus2.plugins.torrent;
import java.io.File;
import java.io.InputStream;
import java.net.URL;
// Referenced classes of package org.gudy.azureus2.plugins.torrent:
// TorrentException, TorrentDownloader, Torrent, TorrentCreator,
// TorrentAttribute, TorrentManagerListener
public interface TorrentManager
{
public static final int PRESERVE_NONE = 0;
public static final int PRESERVE_ENCODING = 1;
public static final int PRESERVE_ALL = -1;
public abstract TorrentDownloader getURLDownloader(URL url)
throws TorrentException;
public abstract TorrentDownloader getURLDownloader(URL url, String s, String s1)
throws TorrentException;
public abstract Torrent createFromBEncodedFile(File file)
throws TorrentException;
public abstract Torrent createFromBEncodedFile(File file, boolean flag)
throws TorrentException;
public abstract Torrent createFromBEncodedInputStream(InputStream inputstream)
throws TorrentException;
public abstract Torrent createFromBEncodedData(byte abyte0[])
throws TorrentException;
public abstract Torrent createFromBEncodedFile(File file, int i)
throws TorrentException;
public abstract Torrent createFromBEncodedInputStream(InputStream inputstream, int i)
throws TorrentException;
public abstract Torrent createFromBEncodedData(byte abyte0[], int i)
throws TorrentException;
public abstract Torrent createFromDataFile(File file, URL url)
throws TorrentException;
public abstract Torrent createFromDataFile(File file, URL url, boolean flag)
throws TorrentException;
public abstract TorrentCreator createFromDataFileEx(File file, URL url, boolean flag)
throws TorrentException;
public abstract TorrentAttribute[] getDefinedAttributes();
public abstract TorrentAttribute getAttribute(String s);
public abstract TorrentAttribute getPluginAttribute(String s);
public abstract void addListener(TorrentManagerListener torrentmanagerlistener);
public abstract void removeListener(TorrentManagerListener torrentmanagerlistener);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -