当前页面: 
在线文档首页 > 
NetBeans API Javadoc 5.0.0 
RepositoryEvent (NetBeans File Systems API) - NetBeans API Javadoc 5.0.0 
org.openide.filesystems
Class RepositoryEvent
java.lang.Object
   java.util.EventObject
java.util.EventObject
       org.openide.filesystems.RepositoryEvent
org.openide.filesystems.RepositoryEvent
- All Implemented Interfaces: 
- Serializable
- public class RepositoryEvent- extends EventObject
Event describing adding a filesystem to, or removing a filesystem from, the filesystem pool.
- See Also:
- Serialized Form
 
 
 
 
 
 
RepositoryEvent
public RepositoryEvent(Repository fsp,
                       FileSystem fs,
                       boolean add)
- Create a new filesystem pool event.
 
- Parameters:
- fsp- filesystem pool that is being modified
- fs- filesystem that is either being added or removed
- add-- trueif the filesystem is added,- falseif removed
getRepository
public Repository getRepository()
- Getter for the filesystem pool that is modified.
 
- 
- Returns:
- the filesystem pool
 
getFileSystem
public FileSystem getFileSystem()
- Getter for the filesystem that is added or removed.
 
- 
- Returns:
- the filesystem
 
isAdded
public boolean isAdded()
- Is the filesystem added or removed?
 
- 
- Returns:
- trueif the filesystem is added,- falseif removed