站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

FileSystemContextFactory (Registry over FileSystem) - NetBeans API Javadoc (Current Development Version)

org.netbeans.core.registry/1 1.8

org.netbeans.api.registry.fs
Class FileSystemContextFactory

java.lang.Object
  extended by org.netbeans.api.registry.fs.FileSystemContextFactory

public final class FileSystemContextFactory
extends Object

This class contains helper methods for creation of BasicContext over the Filesystem.


Method Summary
static BasicContext createContext(FileObject root)
          Deprecated. relation between FileObjects and Contexts is just implementation detail. No replacement for this method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createContext

public static BasicContext createContext(FileObject root)
Deprecated. relation between FileObjects and Contexts is just implementation detail. No replacement for this method.

Create context implementation over the Filesystem. The passed file object will be root of the context hierarchy.

Parameters:
root - file object which will be root of the context hierarchy
Returns:
instance of RootContext created for the given fileobject

org.netbeans.core.registry/1 1.8

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.