public class VFileContentChangeEvent extends VFileEvent
| Constructor and Description |
|---|
VFileContentChangeEvent(java.lang.Object requestor,
VirtualFile file,
long oldModificationStamp,
long newModificationStamp,
boolean isFromRefresh) |
VFileContentChangeEvent(java.lang.Object requestor,
VirtualFile file,
long oldModificationStamp,
long newModificationStamp,
long oldTimestamp,
long newTimestamp,
long oldLength,
long newLength,
boolean isFromRefresh) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
computePath() |
boolean |
equals(java.lang.Object o) |
VirtualFile |
getFile()
Returns the VirtualFile which this event belongs to.
|
VirtualFileSystem |
getFileSystem() |
long |
getModificationStamp() |
long |
getNewLength() |
long |
getNewTimestamp() |
long |
getOldLength() |
long |
getOldModificationStamp() |
long |
getOldTimestamp() |
int |
hashCode() |
boolean |
isLengthAndTimestampDiffProvided() |
boolean |
isValid() |
java.lang.String |
toString() |
getPath, getRequestor, isFromRefresh, isFromSavepublic VFileContentChangeEvent(java.lang.Object requestor,
VirtualFile file,
long oldModificationStamp,
long newModificationStamp,
boolean isFromRefresh)
public VFileContentChangeEvent(java.lang.Object requestor,
VirtualFile file,
long oldModificationStamp,
long newModificationStamp,
long oldTimestamp,
long newTimestamp,
long oldLength,
long newLength,
boolean isFromRefresh)
public VirtualFile getFile()
VFileEventVFileCreateEvent.getFile() needs
VirtualFile.findChild(String) which may be a performance leak.getFile in class VFileEventpublic long getModificationStamp()
public long getOldModificationStamp()
public long getOldTimestamp()
public long getNewTimestamp()
public long getOldLength()
public long getNewLength()
public boolean isLengthAndTimestampDiffProvided()
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