FileDocCategorySizeDatePackage
PlatformManager.javaAPI DocAzureus 3.0.3.42850Fri Jan 12 12:39:24 GMT 2007org.gudy.azureus2.plugins.platform

PlatformManager

public interface PlatformManager

Fields Summary
public static final int
LOC_USER_DATA
public static final int
LOC_MUSIC
public static final int
LOC_DOCUMENTS
public static final int
LOC_VIDEO
Constructors Summary
Methods Summary
public java.io.FilegetLocation(long location_id)
Get a well-known location, if defined for the platform

param
location_id from above LOC_constants
return
since
2.3.0.6

public booleanisAdditionalFileTypeRegistered(java.lang.String name, java.lang.String type)
Checks to see if the supplied file type is registered with this application

param
name
param
type
return
throws
PlatformManagerException

public voidregisterAdditionalFileType(java.lang.String name, java.lang.String description, java.lang.String type, java.lang.String content_type)
Registers a file type with this application

param
name
param
description
param
type
param
content_type
throws
PlatformManagerException

public voidshowFile(java.lang.String file_name)
Reveals the file or directory with the platform's default browser

param
file_name The full path to a file or directory
throws
PlatformManagerException If this operation fails

public voidunregisterAdditionalFileType(java.lang.String name, java.lang.String type)
Removes a file-type registration

param
name
param
type
return
throws
PlatformManagerException