📄 rpdownload.java
字号:
{
notSupported();
}
public void addDownloadWillBeRemovedListener(DownloadWillBeRemovedListener l)
{
notSupported();
}
public void removeDownloadWillBeRemovedListener(DownloadWillBeRemovedListener l)
{
notSupported();
}
public int getPosition()
{
return position;
}
public boolean isForceStart()
{
return force_start;
}
public void setForceStart(boolean _force_start)
{
force_start = _force_start;
_dispatcher.dispatch(new RPRequest(this, "setForceStart[boolean]", new Object[] {
new Boolean(force_start)
})).getResponse();
}
public void setPosition(int new_position)
{
_dispatcher.dispatch(new RPRequest(this, "setPosition[int]", new Object[] {
new Integer(new_position)
})).getResponse();
}
public void moveUp()
{
_dispatcher.dispatch(new RPRequest(this, "moveUp", null)).getResponse();
}
public void moveDown()
{
_dispatcher.dispatch(new RPRequest(this, "moveDown", null)).getResponse();
}
public void moveTo(int position)
{
_dispatcher.dispatch(new RPRequest(this, "moveTo[int]", new Object[] {
new Integer(position)
})).getResponse();
}
public void stopAndQueue()
throws DownloadException
{
notSupported();
}
public void recheckData()
throws DownloadException
{
notSupported();
}
public String getName()
{
notSupported();
return "";
}
public void addListener(DownloadPeerListener l)
{
notSupported(l);
}
public void removeListener(DownloadPeerListener l)
{
notSupported(l);
}
public void addPeerListener(DownloadPeerListener l)
{
notSupported();
}
public void removePeerListener(DownloadPeerListener l)
{
notSupported();
}
public String getTorrentFileName()
{
notSupported();
return "";
}
public String getAttribute(TorrentAttribute attribute)
{
notSupported();
return null;
}
public void setAttribute(TorrentAttribute attribute, String value)
{
notSupported();
}
public String[] getListAttribute(TorrentAttribute attribute)
{
notSupported();
return null;
}
public void setMapAttribute(TorrentAttribute attribute, Map value)
{
notSupported();
}
public Map getMapAttribute(TorrentAttribute attribute)
{
notSupported();
return null;
}
public String getCategoryName()
{
notSupported();
return "";
}
public void setCategory(String sName)
{
notSupported();
}
public boolean isPersistent()
{
notSupported();
return false;
}
public void setMaximumDownloadKBPerSecond(int kb)
{
notSupported();
}
public int getUploadRateLimitBytesPerSecond()
{
notSupported();
return 0;
}
public void setUploadRateLimitBytesPerSecond(int max_rate_bps)
{
notSupported();
}
public int getDownloadRateLimitBytesPerSecond()
{
notSupported();
return 0;
}
public void setDownloadRateLimitBytesPerSecond(int max_rate_bps)
{
notSupported();
}
public int getMaximumDownloadKBPerSecond()
{
notSupported();
return 0;
}
public boolean isComplete()
{
notSupported();
return false;
}
public boolean isComplete(boolean b)
{
notSupported();
return false;
}
public boolean isChecking()
{
notSupported();
return false;
}
public PeerManager getPeerManager()
{
notSupported();
return null;
}
public DiskManager getDiskManager()
{
notSupported();
return null;
}
public DiskManagerFileInfo[] getDiskManagerFileInfo()
{
RPDiskManagerFileInfo resp[] = (RPDiskManagerFileInfo[])(RPDiskManagerFileInfo[])_dispatcher.dispatch(new RPRequest(this, "getDiskManagerFileInfo", null)).getResponse();
for (int i = 0; i < resp.length; i++)
resp[i]._setRemote(_dispatcher);
return resp;
}
public long getCreationTime()
{
notSupported();
return 0L;
}
public int getSeedingRank()
{
notSupported();
return 0;
}
public String getSavePath()
{
notSupported();
return null;
}
public void moveDataFiles(File new_parent_dir)
throws DownloadException
{
notSupported();
}
public void moveDataFiles(File new_parent_dir, String new_name)
throws DownloadException
{
notSupported();
}
public void moveTorrentFile(File new_parent_dir)
{
notSupported();
}
public void requestTrackerAnnounce()
{
_dispatcher.dispatch(new RPRequest(this, "requestTrackerAnnounce", null)).getResponse();
}
public void requestTrackerAnnounce(boolean immediate)
{
notSupported();
}
public void requestTrackerScrape(boolean immediate)
{
notSupported();
}
public void setAnnounceResult(DownloadAnnounceResult result)
{
notSupported();
}
public void setScrapeResult(DownloadScrapeResult result)
{
notSupported();
}
public DownloadActivationEvent getActivationState()
{
notSupported();
return null;
}
public void addActivationListener(DownloadActivationListener l)
{
notSupported();
}
public void removeActivationListener(DownloadActivationListener l)
{
notSupported();
}
public void setSeedingRank(int i)
{
}
public void addTrackerListener(DownloadTrackerListener l, boolean immediateTrigger)
{
notSupported();
}
public void renameDownload(String new_name)
{
notSupported();
}
public File[] calculateDefaultPaths(boolean for_moving)
{
notSupported();
return null;
}
public boolean isInDefaultSaveDir()
{
notSupported();
return false;
}
public boolean getBooleanAttribute(TorrentAttribute ta)
{
notSupported();
return false;
}
public int getIntAttribute(TorrentAttribute ta)
{
notSupported();
return 0;
}
public long getLongAttribute(TorrentAttribute ta)
{
notSupported();
return 0L;
}
public boolean hasAttribute(TorrentAttribute ta)
{
notSupported();
return false;
}
public void setBooleanAttribute(TorrentAttribute ta, boolean value)
{
notSupported();
}
public void setIntAttribute(TorrentAttribute ta, int value)
{
notSupported();
}
public void setListAttribute(TorrentAttribute ta, String value[])
{
notSupported();
}
public void setLongAttribute(TorrentAttribute ta, long value)
{
notSupported();
}
public void setFlag(long flag, boolean set)
{
notSupported();
}
public void addAttributeListener(DownloadAttributeListener l, TorrentAttribute a, int e)
{
notSupported();
}
public void removeAttributeListener(DownloadAttributeListener l, TorrentAttribute a, int e)
{
notSupported();
}
public void addCompletionListener(DownloadCompletionListener l)
{
notSupported();
}
public void removeCompletionListener(DownloadCompletionListener l)
{
notSupported();
}
public boolean isRemoved()
{
notSupported();
return false;
}
public boolean canMoveDataFiles()
{
notSupported();
return false;
}
public SaveLocationChange calculateDefaultDownloadLocation()
{
notSupported();
return null;
}
public Object getUserData(Object key)
{
notSupported();
return null;
}
public void setUserData(Object key, Object data)
{
notSupported();
}
public void startDownload(boolean force)
{
notSupported();
}
public void stopDownload()
{
notSupported();
}
public void changeLocation(SaveLocationChange slc)
{
notSupported();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -