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, isFromSave
public 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 VFileEvent
public VirtualFile getFile()
VFileEvent
getFile()
needs
VirtualFile.findChild(String)
which may be a performance leak.getFile
in class VFileEvent
public ChildInfo [] getChildren()
public void resetCache()
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
public java.lang.String toString()
toString
in class java.lang.Object
public int getChildNameId()