shareresource.java

来自「java 文件下载器。可自定义」· Java 代码 · 共 47 行

JAVA
47
字号
// 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:   ShareResource.java

package org.gudy.azureus2.plugins.sharing;

import org.gudy.azureus2.plugins.torrent.TorrentAttribute;

// Referenced classes of package org.gudy.azureus2.plugins.sharing:
//			ShareException, ShareResourceDeletionVetoException, ShareResourceDirContents, ShareResourceListener, 
//			ShareResourceWillBeDeletedListener

public interface ShareResource
{

	public static final int ST_FILE = 1;
	public static final int ST_DIR = 2;
	public static final int ST_DIR_CONTENTS = 3;

	public abstract int getType();

	public abstract String getName();

	public abstract void delete()
		throws ShareException, ShareResourceDeletionVetoException;

	public abstract void setAttribute(TorrentAttribute torrentattribute, String s);

	public abstract String getAttribute(TorrentAttribute torrentattribute);

	public abstract TorrentAttribute[] getAttributes();

	public abstract boolean canBeDeleted()
		throws ShareResourceDeletionVetoException;

	public abstract ShareResourceDirContents getParent();

	public abstract void addChangeListener(ShareResourceListener shareresourcelistener);

	public abstract void removeChangeListener(ShareResourceListener shareresourcelistener);

	public abstract void addDeletionListener(ShareResourceWillBeDeletedListener shareresourcewillbedeletedlistener);

	public abstract void removeDeletionListener(ShareResourceWillBeDeletedListener shareresourcewillbedeletedlistener);
}

⌨️ 快捷键说明

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