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

FSRegistry (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.registry
Class FSRegistry

java.lang.Object
  extended byorg.netbeans.modules.vcscore.registry.FSRegistry

public class FSRegistry
extends Object

Registry of recognized filesystem types.


Method Summary
 void addFSRegistryListener(FSRegistryListener fsrl)
          Add a filesystem registry listener.
protected  void fireFSInfoChanged(FSInfo fsInfo, boolean added, Object propagationId)
           
static FSRegistry getDefault()
          Get the default filesystem registry.
 FSInfo[] getRegistered()
          Get all registered filesystem infos.
 boolean isRegistered(FSInfo info)
          Find out whether a given filesystem info is already registered or not.
 void register(FSInfo fsInfo)
          Register a filesystem information.
 void removeFSRegistryListener(FSRegistryListener fsrl)
          Remove a filesystem registry listener.
 void unregister(FSInfo fsInfo)
          Unregister a filesystem information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefault

public static FSRegistry getDefault()
Get the default filesystem registry.


register

public void register(FSInfo fsInfo)
Register a filesystem information.


unregister

public void unregister(FSInfo fsInfo)
Unregister a filesystem information.


getRegistered

public FSInfo[] getRegistered()
Get all registered filesystem infos.


isRegistered

public boolean isRegistered(FSInfo info)
Find out whether a given filesystem info is already registered or not.

Parameters:
info - The filesystem info to test
Returns:
true When the filesystem info is already registered, false otherwise.

addFSRegistryListener

public void addFSRegistryListener(FSRegistryListener fsrl)
Add a filesystem registry listener.


removeFSRegistryListener

public void removeFSRegistryListener(FSRegistryListener fsrl)
Remove a filesystem registry listener.


fireFSInfoChanged

protected void fireFSInfoChanged(FSInfo fsInfo,
                                 boolean added,
                                 Object propagationId)

 

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