public class VFileCreateEvent extends VFileEvent
| Constructor and Description |
|---|
VFileCreateEvent(java.lang.Object requestor,
VirtualFile parent,
java.lang.String childName,
boolean isDirectory,
FileAttributes attributes,
java.lang.String symlinkTarget,
boolean isFromRefresh,
ChildInfo [] children) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
computePath() |
boolean |
equals(java.lang.Object o) |
FileAttributes |
getAttributes() |
java.lang.String |
getChildName() |
int |
getChildNameId() |
ChildInfo [] |
getChildren() |
VirtualFile |
getFile()
Returns the VirtualFile which this event belongs to.
|
VirtualFileSystem |
getFileSystem() |
VirtualFile |
getParent() |
java.lang.String |
getSymlinkTarget() |
int |
hashCode() |
boolean |
isDirectory() |
boolean |
isEmptyDirectory() |
boolean |
isValid() |
void |
resetCache() |
java.lang.String |
toString() |
getPath, getRequestor, isFromRefresh, isFromSavepublic VFileCreateEvent(java.lang.Object requestor,
VirtualFile parent,
java.lang.String childName,
boolean isDirectory,
FileAttributes attributes,
java.lang.String symlinkTarget,
boolean isFromRefresh,
ChildInfo [] children)
public java.lang.String getChildName()
public boolean isDirectory()
public VirtualFile getParent()
public FileAttributes getAttributes()
public java.lang.String getSymlinkTarget()
public boolean isEmptyDirectory()
protected java.lang.String computePath()
computePath in class VFileEventpublic VirtualFile getFile()
VFileEventgetFile() needs
VirtualFile.findChild(String) which may be a performance leak.getFile in class VFileEventpublic ChildInfo [] getChildren()
public void resetCache()
public 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 VFileEventpublic java.lang.String toString()
toString in class java.lang.Objectpublic int getChildNameId()