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

📄 rpdiskmanagerfileinfo.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:   RPDiskManagerFileInfo.java

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

import java.io.File;
import org.gudy.azureus2.plugins.disk.DiskManagerChannel;
import org.gudy.azureus2.plugins.disk.DiskManagerFileInfo;
import org.gudy.azureus2.plugins.download.Download;
import org.gudy.azureus2.plugins.download.DownloadException;
import org.gudy.azureus2.pluginsimpl.remote.*;

public class RPDiskManagerFileInfo extends RPObject
	implements DiskManagerFileInfo
{

	protected transient DiskManagerFileInfo delegate;
	public int access_mode;
	public long downloaded;
	public long length;
	public File file;
	public int first_piece_number;
	public int num_pieces;
	public boolean is_priority;
	public boolean is_skipped;

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

	protected RPDiskManagerFileInfo(DiskManagerFileInfo _delegate)
	{
		super(_delegate);
	}

	protected void _setDelegate(Object _delegate)
	{
		delegate = (DiskManagerFileInfo)_delegate;
		access_mode = delegate.getAccessMode();
		downloaded = delegate.getDownloaded();
		length = delegate.getLength();
		file = delegate.getFile();
		first_piece_number = delegate.getFirstPieceNumber();
		num_pieces = delegate.getNumPieces();
		is_priority = delegate.isPriority();
		is_skipped = delegate.isSkipped();
	}

	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 void setPriority(boolean b)
	{
		notSupported();
	}

	public void setSkipped(boolean b)
	{
		notSupported();
	}

	public void setDeleted(boolean b)
	{
		notSupported();
	}

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

	public int getAccessMode()
	{
		return access_mode;
	}

	public long getDownloaded()
	{
		return downloaded;
	}

	public long getLength()
	{
		return length;
	}

	public File getFile()
	{
		return file;
	}

	public int getFirstPieceNumber()
	{
		return first_piece_number;
	}

	public long getPieceSize()
	{
		notSupported();
		return -1L;
	}

	public int getNumPieces()
	{
		return num_pieces;
	}

	public boolean isPriority()
	{
		return is_priority;
	}

	public boolean isSkipped()
	{
		return is_skipped;
	}

	public int getIndex()
	{
		notSupported();
		return -1;
	}

	public void setLink(File link_destination)
	{
		notSupported();
	}

	public File getLink()
	{
		notSupported();
		return null;
	}

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

	public Download getDownload()
		throws DownloadException
	{
		notSupported();
		return null;
	}

	public DiskManagerChannel createChannel()
	{
		notSupported();
		return null;
	}
}

⌨️ 快捷键说明

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