当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
RepositoryEvent (NetBeans APIs) - NetBeans API Javadoc 4.1.0
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 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 modifiedfs
- filesystem that is either being added or removedadd
- true
if the filesystem is added,
false
if 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:
true
if the filesystem is added, false
if removed