public abstract class DeprecatedVirtualFileSystem extends VirtualFileSystem
Constructor and Description |
---|
DeprecatedVirtualFileSystem() |
Modifier and Type | Method and Description |
---|---|
void |
addVirtualFileListener(VirtualFileListener listener)
Adds listener to the file system.
|
protected void |
assertWriteAccessAllowed() |
VirtualFile |
copyFile(java.lang.Object requestor,
VirtualFile vFile,
VirtualFile newParent,
java.lang.String copyName)
Implementation of copying files in this file system
|
VirtualFile |
createChildDirectory(java.lang.Object requestor,
VirtualFile vDir,
java.lang.String dirName)
Implementation of adding directories in this file system
|
VirtualFile |
createChildFile(java.lang.Object requestor,
VirtualFile vDir,
java.lang.String fileName)
Implementation of adding files in this file system
|
protected void |
deleteFile(java.lang.Object requestor,
VirtualFile vFile)
Implementation of deleting files in this file system
|
protected void |
fireBeforeContentsChange(java.lang.Object requestor,
VirtualFile file) |
protected void |
fireBeforeFileDeletion(java.lang.Object requestor,
VirtualFile file) |
protected void |
fireBeforeFileMovement(java.lang.Object requestor,
VirtualFile file,
VirtualFile newParent) |
protected void |
fireBeforePropertyChange(java.lang.Object requestor,
VirtualFile file,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue) |
protected void |
fireContentsChanged(java.lang.Object requestor,
VirtualFile file,
long oldModificationStamp) |
protected void |
fireFileCopied(java.lang.Object requestor,
VirtualFile originalFile,
VirtualFile createdFile) |
protected void |
fireFileCreated(java.lang.Object requestor,
VirtualFile file) |
protected void |
fireFileDeleted(java.lang.Object requestor,
VirtualFile file,
java.lang.String fileName,
VirtualFile parent) |
protected void |
fireFileMoved(java.lang.Object requestor,
VirtualFile file,
VirtualFile oldParent) |
protected void |
firePropertyChanged(java.lang.Object requestor,
VirtualFile file,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue) |
boolean |
isReadOnly() |
protected void |
moveFile(java.lang.Object requestor,
VirtualFile vFile,
VirtualFile newParent)
Implementation of moving files in this file system
|
void |
removeVirtualFileListener(VirtualFileListener listener)
Removes listener form the file system.
|
protected void |
renameFile(java.lang.Object requestor,
VirtualFile vFile,
java.lang.String newName)
Implementation of renaming files in this file system
|
protected void |
startEventPropagation() |
extractPresentableUrl, findFileByPath, getProtocol, isCaseSensitive, isValidName, refresh, refreshAndFindFileByPath
protected void startEventPropagation()
public void addVirtualFileListener(VirtualFileListener listener)
VirtualFileSystem
VirtualFileManager.VFS_CHANGES
message bus topic.addVirtualFileListener
in class VirtualFileSystem
listener
- the listenerVirtualFileListener
,
VirtualFileManager.VFS_CHANGES
public void removeVirtualFileListener(VirtualFileListener listener)
VirtualFileSystem
removeVirtualFileListener
in class VirtualFileSystem
listener
- the listenerprotected void firePropertyChanged(java.lang.Object requestor, VirtualFile file, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
protected void fireContentsChanged(java.lang.Object requestor, VirtualFile file, long oldModificationStamp)
protected void fireFileCreated(java.lang.Object requestor, VirtualFile file)
protected void fireFileDeleted(java.lang.Object requestor, VirtualFile file, java.lang.String fileName, VirtualFile parent)
protected void fireFileMoved(java.lang.Object requestor, VirtualFile file, VirtualFile oldParent)
protected void fireFileCopied(java.lang.Object requestor, VirtualFile originalFile, VirtualFile createdFile)
protected void fireBeforePropertyChange(java.lang.Object requestor, VirtualFile file, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
protected void fireBeforeContentsChange(java.lang.Object requestor, VirtualFile file)
protected void fireBeforeFileDeletion(java.lang.Object requestor, VirtualFile file)
protected void fireBeforeFileMovement(java.lang.Object requestor, VirtualFile file, VirtualFile newParent)
protected void assertWriteAccessAllowed()
public boolean isReadOnly()
isReadOnly
in class VirtualFileSystem
protected void deleteFile(java.lang.Object requestor, VirtualFile vFile) throws java.io.IOException
VirtualFileSystem
deleteFile
in class VirtualFileSystem
java.io.IOException
VirtualFile.delete(Object)
protected void moveFile(java.lang.Object requestor, VirtualFile vFile, VirtualFile newParent) throws java.io.IOException
VirtualFileSystem
moveFile
in class VirtualFileSystem
java.io.IOException
VirtualFile.move(Object,VirtualFile)
protected void renameFile(java.lang.Object requestor, VirtualFile vFile, java.lang.String newName) throws java.io.IOException
VirtualFileSystem
renameFile
in class VirtualFileSystem
java.io.IOException
VirtualFile.rename(Object,String)
public VirtualFile createChildFile(java.lang.Object requestor, VirtualFile vDir, java.lang.String fileName) throws java.io.IOException
VirtualFileSystem
createChildFile
in class VirtualFileSystem
java.io.IOException
VirtualFile.createChildData(Object,String)
public VirtualFile createChildDirectory(java.lang.Object requestor, VirtualFile vDir, java.lang.String dirName) throws java.io.IOException
VirtualFileSystem
createChildDirectory
in class VirtualFileSystem
java.io.IOException
VirtualFile.createChildDirectory(Object,String)
public VirtualFile copyFile(java.lang.Object requestor, VirtualFile vFile, VirtualFile newParent, java.lang.String copyName) throws java.io.IOException
VirtualFileSystem
copyFile
in class VirtualFileSystem
java.io.IOException
VirtualFile.copy(Object,VirtualFile,String)