FileDocCategorySizeDatePackage
Platform.javaAPI DocAndroid 1.5 API1983Wed May 06 22:41:04 BST 2009org.apache.harmony.luni.platform

Platform

public class Platform extends Object
Platform

Fields Summary
static final IAdapterManager
ADAPTER_MANAGER
static final IFileSystem
FILE_SYSTEM
static final IMemorySystem
MEMORY_SYSTEM
static final INetworkSystem
NETWORK_SYSTEM
Constructors Summary
Methods Summary
private static final voidaccessCheck()

        // BEGIN android-changed
        if (VMStack.getCallingClassLoader() != null) {
            throw new SecurityException();
        }
        // END android-changed
    
public static IAdapterManagergetAdapterManager()


        
        return ADAPTER_MANAGER;
    
public static IFileSystemgetFileSystem()

        accessCheck();
        return FILE_SYSTEM;
    
public static IMemorySystemgetMemorySystem()

        accessCheck();
        return MEMORY_SYSTEM;
    
public static INetworkSystemgetNetworkSystem()

        accessCheck();
        return NETWORK_SYSTEM;