public abstract class VFileEvent
extends java.lang.Object
| Constructor and Description |
|---|
VFileEvent(java.lang.Object requestor,
boolean isFromRefresh) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String |
computePath() |
abstract boolean |
equals(java.lang.Object o) |
abstract VirtualFile |
getFile()
Returns the VirtualFile which this event belongs to.
|
abstract VirtualFileSystem |
getFileSystem() |
java.lang.String |
getPath()
Returns the file path (in system independent format) affected by this event.
Note that the path might be cached, thus can become out-of-date if requested later, asynchronously from the event dispatching procedure (e.g. |
java.lang.Object |
getRequestor() |
abstract int |
hashCode() |
boolean |
isFromRefresh() |
boolean |
isFromSave()
Returns
true if the VFS change described by the event is the save of a document. |
abstract boolean |
isValid() |
public boolean isFromRefresh()
public boolean isFromSave()
true if the VFS change described by the event is the save of a document.public java.lang.Object getRequestor()
public java.lang.String getPath()
event.getPath() can become not equal to event.getFile().getPath()).protected abstract java.lang.String computePath()
public abstract VirtualFile getFile()
VFileCreateEvent.getFile() needs
VirtualFile.findChild(String) which may be a performance leak.public abstract VirtualFileSystem getFileSystem()
public abstract boolean isValid()
public abstract int hashCode()
hashCode in class java.lang.Objectpublic abstract boolean equals(java.lang.Object o)
equals in class java.lang.Object