📄 shareresource.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: 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -