org.openide.filesystems
Class RepositoryEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.openide.filesystems.RepositoryEvent
- All Implemented Interfaces:
- Serializable
- public class RepositoryEvent
- extends EventObject
Event describing adding a file system to, or removing a file system from, the file system pool.
- See Also:
- Serialized Form
RepositoryEvent
public RepositoryEvent(Repository fsp,
FileSystem fs,
boolean add)
- Create a new file system pool event.
- Parameters:
fsp
- file system pool that is being modifiedfs
- file system that is either being added or removedadd
- true
if the file system is added,
false
if removed
getRepository
public Repository getRepository()
- Getter for the file system pool that is modified.
- Returns:
- the file system pool
getFileSystem
public FileSystem getFileSystem()
- Getter for the file system that is added or removed.
- Returns:
- the file system
isAdded
public boolean isAdded()
- Is the file system added or removed?
- Returns:
true
if the file system is added, false
if removed
Built on December 12 2001. | Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.