|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gudy.azureus2.platform.dummy.PlatformManagerImpl
public class PlatformManagerImpl
Field Summary |
---|
Fields inherited from interface org.gudy.azureus2.platform.PlatformManager |
---|
PT_MACOSX, PT_OTHER, PT_UNIX, PT_WINDOWS, SD_ALL, SD_HIBERNATE, SD_SHUTDOWN, SD_SLEEP, USER_REQUEST_INFO, USER_REQUEST_QUESTION, USER_REQUEST_WARNING |
Fields inherited from interface org.gudy.azureus2.plugins.platform.PlatformManager |
---|
LOC_DOCUMENTS, LOC_MUSIC, LOC_USER_DATA, LOC_VIDEO |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PlatformManager getSingleton()
public int getPlatformType()
public String getUserDataDirectory() throws PlatformManagerException
PlatformManagerException
public boolean isApplicationRegistered() throws PlatformManagerException
PlatformManagerException
public String getApplicationCommandLine() throws PlatformManagerException
PlatformManagerException
public String getComputerName()
getComputerName
in interface PlatformManager
public File getLocation(long location_id) throws PlatformManagerException
PlatformManager
getLocation
in interface PlatformManager
location_id
- from above LOC_constants
PlatformManagerException
public File getVMOptionFile() throws PlatformManagerException
PlatformManagerException
public String[] getExplicitVMOptions() throws PlatformManagerException
PlatformManagerException
public boolean getRunAtLogin() throws PlatformManagerException
PlatformManagerException
public void setRunAtLogin(boolean run) throws PlatformManagerException
PlatformManagerException
public void startup(AzureusCore azureus_core) throws PlatformManagerException
PlatformManagerException
public int getShutdownTypes()
public void shutdown(int type) throws PlatformManagerException
PlatformManagerException
public void setPreventComputerSleep(boolean b) throws PlatformManagerException
PlatformManagerException
public boolean getPreventComputerSleep()
public void setExplicitVMOptions(String[] options) throws PlatformManagerException
PlatformManagerException
public boolean isAdditionalFileTypeRegistered(String name, String type) throws PlatformManagerException
PlatformManager
isAdditionalFileTypeRegistered
in interface PlatformManager
PlatformManagerException
public void unregisterAdditionalFileType(String name, String type) throws PlatformManagerException
PlatformManager
unregisterAdditionalFileType
in interface PlatformManager
PlatformManagerException
public void registerApplication() throws PlatformManagerException
PlatformManagerException
public void registerAdditionalFileType(String name, String description, String type, String content_type) throws PlatformManagerException
PlatformManager
registerAdditionalFileType
in interface PlatformManager
PlatformManagerException
public void createProcess(String command_line, boolean inherit_handles) throws PlatformManagerException
PlatformManagerException
public void performRecoverableFileDelete(String file_name) throws PlatformManagerException
PlatformManagerException
public String getVersion() throws PlatformManagerException
PlatformManagerException
public void setTCPTOSEnabled(boolean enabled) throws PlatformManagerException
PlatformManagerException
public void copyFilePermissions(String from_file_name, String to_file_name) throws PlatformManagerException
PlatformManagerException
public void showFile(String file_name) throws PlatformManagerException
showFile
in interface PlatformManager
file_name
- The full path to a file or directory
PlatformManagerException
- If this operation failspublic boolean testNativeAvailability(String name) throws PlatformManagerException
PlatformManagerException
public void traceRoute(InetAddress interface_address, InetAddress target, PlatformManagerPingCallback callback) throws PlatformManagerException
PlatformManagerException
public void ping(InetAddress interface_address, InetAddress target, PlatformManagerPingCallback callback) throws PlatformManagerException
PlatformManagerException
public int getMaxOpenFiles() throws PlatformManagerException
PlatformManagerException
public boolean hasCapability(PlatformManagerCapabilities capability)
public void dispose()
public void addListener(PlatformManagerListener listener)
public void removeListener(PlatformManagerListener listener)
public String getAzComputerID() throws PlatformManagerException
PlatformManagerException
public void requestUserAttention(int type, Object data) throws PlatformManagerException
PlatformManagerException
public Class<?> loadClass(ClassLoader loader, String class_name) throws PlatformManagerException
PlatformManagerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |