📄 platformmanagerimpl.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: PlatformManagerImpl.java
package org.gudy.azureus2.platform.dummy;
import java.io.File;
import java.net.InetAddress;
import org.gudy.azureus2.platform.*;
import org.gudy.azureus2.plugins.platform.PlatformManagerException;
public class PlatformManagerImpl
implements PlatformManager
{
private static PlatformManager singleton = new PlatformManagerImpl();
public static PlatformManager getSingleton()
{
return singleton;
}
private PlatformManagerImpl()
{
}
public int getPlatformType()
{
return PlatformManagerFactory.getPlatformType();
}
public String getUserDataDirectory()
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public boolean isApplicationRegistered()
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public String getApplicationCommandLine()
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public String getComputerName()
{
return null;
}
public File getLocation(long location_id)
throws PlatformManagerException
{
return null;
}
public boolean isAdditionalFileTypeRegistered(String name, String type)
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public void unregisterAdditionalFileType(String name, String type)
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public void registerApplication()
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public void registerAdditionalFileType(String name, String description, String type, String content_type)
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public void createProcess(String command_line, boolean inherit_handles)
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public void performRecoverableFileDelete(String file_name)
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public String getVersion()
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public void setTCPTOSEnabled(boolean enabled)
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public void copyFilePermissions(String from_file_name, String to_file_name)
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public void showFile(String file_name)
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public boolean testNativeAvailability(String name)
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public void traceRoute(InetAddress interface_address, InetAddress target, PlatformManagerPingCallback callback)
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public void ping(InetAddress interface_address, InetAddress target, PlatformManagerPingCallback callback)
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public boolean hasCapability(PlatformManagerCapabilities capability)
{
return false;
}
public void dispose()
{
}
public void addListener(PlatformManagerListener platformmanagerlistener)
{
}
public void removeListener(PlatformManagerListener platformmanagerlistener)
{
}
public String getAzComputerID()
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
public void requestUserAttention(int type, Object data)
throws PlatformManagerException
{
throw new PlatformManagerException("Unsupported capability called on platform manager");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -