| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is used to define behaviour of VFS in a number of conflict situations. Implementation of
VirtualFileErrorUI is supposed to interact with user by some mean to let him make a decision.
See setErrorUI and getErrorUI methods of VirtualFileManager.
| Method Summary | |
boolean | isKeepModified(VirtualFile file)Called when the system during cache synchronization process encounters a file with cached contents which was deleted by external process. |
boolean | isOverwriteModified(VirtualFile file)Called when the system during saving caches encounters a file with timestamp set differently than the cached timestamp. |
boolean | isReloadModified(VirtualFile file)Called when the system during cache synchronization process encounters a file timestamp different from cached timestamp and only if this file has cached contents. |
boolean | isRetryFailedRead(VirtualFile file)Called when an attempt to read from specified file has failed. |
boolean | isRetryFailedWrite(VirtualFile file)Called when an attempt to write to specified file has failed. |
| Method Detail |
public boolean isKeepModified(VirtualFile file)
public boolean isOverwriteModified(VirtualFile file)
public boolean isReloadModified(VirtualFile file)
public boolean isRetryFailedRead(VirtualFile file)
throws java.io.InterruptedIOException
public boolean isRetryFailedWrite(VirtualFile file)
throws java.io.InterruptedIOException
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||