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, isFromSavepublic VFileCopyEvent(java.lang.Object requestor,
VirtualFile file,
VirtualFile newParent,
java.lang.String newChildName)
public VirtualFile getFile()
VFileEventVFileCreateEvent.getFile() needs
VirtualFile.findChild(String) which may be a performance leak.getFile in class VFileEventpublic VirtualFile getNewParent()
public java.lang.String getNewChildName()
public VirtualFile findCreatedFile()
public java.lang.String toString()
toString in class java.lang.Objectprotected java.lang.String computePath()
computePath in class VFileEventpublic VirtualFileSystem getFileSystem()
getFileSystem in class VFileEventpublic boolean isValid()
isValid in class VFileEventpublic boolean equals(java.lang.Object o)
equals in class VFileEventpublic int hashCode()
hashCode in class VFileEvent