📄 sfplugindetailsimpl.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: SFPluginDetailsImpl.java
package org.gudy.azureus2.pluginsimpl.update.sf.impl2;
import org.gudy.azureus2.pluginsimpl.update.sf.SFPluginDetails;
import org.gudy.azureus2.pluginsimpl.update.sf.SFPluginDetailsException;
// Referenced classes of package org.gudy.azureus2.pluginsimpl.update.sf.impl2:
// SFPluginDetailsLoaderImpl
public class SFPluginDetailsImpl
implements SFPluginDetails
{
private SFPluginDetailsLoaderImpl loader;
private boolean fully_loaded;
private String id;
private String name;
private String version;
private String category;
private String download_url;
private String author;
private String cvs_version;
private String cvs_download_url;
private String desc;
private String comment;
private String info_url;
protected SFPluginDetailsImpl(SFPluginDetailsLoaderImpl _loader, String _id, String _version, String _cvs_version, String _name, String _category)
{
loader = _loader;
id = _id;
version = _version;
cvs_version = _cvs_version;
name = _name;
category = _category;
}
protected void setDetails(String _download_url, String _author, String _cvs_download_url, String _desc, String _comment, String _info_url)
{
fully_loaded = true;
download_url = _download_url;
author = _author;
cvs_download_url = _cvs_download_url;
desc = _desc;
comment = _comment;
info_url = _info_url;
}
protected boolean isFullyLoaded()
{
return fully_loaded;
}
protected void checkLoaded()
throws SFPluginDetailsException
{
if (!fully_loaded)
loader.loadPluginDetails(this);
}
public String getId()
{
return id;
}
public String getName()
{
return name;
}
public String getCategory()
{
return category;
}
public String getVersion()
{
return version;
}
public String getDownloadURL()
throws SFPluginDetailsException
{
checkLoaded();
return download_url;
}
public String getAuthor()
throws SFPluginDetailsException
{
checkLoaded();
return author;
}
public String getCVSVersion()
throws SFPluginDetailsException
{
return cvs_version;
}
public String getCVSDownloadURL()
throws SFPluginDetailsException
{
checkLoaded();
return cvs_download_url;
}
public String getDescription()
throws SFPluginDetailsException
{
checkLoaded();
return desc;
}
public String getComment()
throws SFPluginDetailsException
{
checkLoaded();
return comment;
}
public String getRelativeURLBase()
{
return loader.getRelativeURLBase();
}
public String getInfoURL()
{
return info_url;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -