public class VFileCopyEvent extends VFileEvent
Constructor and Description |
---|
VFileCopyEvent(java.lang.Object requestor,
VirtualFile file,
VirtualFile newParent,
java.lang.String newChildName) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
computePath() |
boolean |
equals(java.lang.Object o) |
VirtualFile |
findCreatedFile() |
VirtualFile |
getFile()
Returns the VirtualFile which this event belongs to.
|
VirtualFileSystem |
getFileSystem() |
java.lang.String |
getNewChildName() |
VirtualFile |
getNewParent() |
int |
hashCode() |
boolean |
isValid() |
java.lang.String |
toString() |
getPath, getRequestor, isFromRefresh, isFromSave
public VFileCopyEvent(java.lang.Object requestor, VirtualFile file, VirtualFile newParent, java.lang.String newChildName)
public VirtualFile getFile()
VFileEvent
VFileCreateEvent.getFile()
needs
VirtualFile.findChild(String)
which may be a performance leak.getFile
in class VFileEvent
public VirtualFile getNewParent()
public java.lang.String getNewChildName()
public VirtualFile findCreatedFile()
public java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.String computePath()
computePath
in class VFileEvent
public VirtualFileSystem getFileSystem()
getFileSystem
in class VFileEvent
public boolean isValid()
isValid
in class VFileEvent
public boolean equals(java.lang.Object o)
equals
in class VFileEvent
public int hashCode()
hashCode
in class VFileEvent