This document lists changes made to the MasterFileSystem API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
IOException
IOException
ProvidedExtensions.priorityIO to suspend background refresh
ProvidedExtensions.refreshRecursively was added.
ProvidedExtensions.canWrite was added.
ProvidedExtensions.fileLock and ProvidedExtensions.fileUnlock was added.
ProvidedExtensions.beforeChange was added.
ProvidedExtensions.getDeleteHandler was added.
ProvidedExtensions was added.
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.modules.masterfs > 1.20
IOException
ProvidedExtensions.priorityIO to suspend background refresh
ProvidedExtensions.refreshRecursively was added.
ProvidedExtensions.canWrite was added.
ProvidedExtensions.fileLock and ProvidedExtensions.fileUnlock was added.
ProvidedExtensions.beforeChange was added.
ProvidedExtensions.getDeleteHandler was added.
ProvidedExtensions was added.
org.netbeans.modules.masterfs.providers.AutoMountProvider
org.netbeans.modules.masterfs.providers.FileSystemProvider
org.netbeans.modules.masterfs.providers.MountSupport
org.netbeans.modules.masterfs.providers.Notifier
org.netbeans.modules.masterfs.providers.ProvidedExtensions
IOException
ProvidedExtensions.priorityIO to suspend background refresh
ProvidedExtensions.refreshRecursively was added.
ProvidedExtensions.fileLock and ProvidedExtensions.fileUnlock was added.
ProvidedExtensions.beforeChange was added.
ProvidedExtensions.getDeleteHandler was added.
ProvidedExtensions was added.
IOException
ProvidedExtensions; made by: jtulach; issues:
#208657
fileLocked method to
throw IOException is
source incompatible, but
binary compatible. As masterfs friends are always compiled at the same time as
masterfs, and even if they will not, they will link (as the change is binary
compatible), we modified the method signature to throw
IOException
Notifier; made by: jtulach; issues:
#206434
ProvidedExtensions; made by: tstupka; issues:
#194683
providesCanWrite to specify if a
ProvidedExtensions instance is meant to provide the canWrite() value for a file.
ProvidedExtensions; made by: tstupka; issues:
#189921
ProvidedExtensions; made by: tstupka; issues:
#133855
createSuccess and deleteSuccess are called imediatelly
after a file is created or deleted.
createdExternally, deletedExternally,
fileChanged, beforeMove,
moveSuccess, moveFailure
ProvidedExtensions.priorityIO to suspend background refresh
ProvidedExtensions; made by: jtulach; issues:
#181684
ProvidedExtensions.priorityIO allows
parsing API to suspend background I/O activity after refresh
of main window.
ProvidedExtensions.refreshRecursively was added.
ProvidedExtensions; made by: jtulach; issues:
#181684
ProvidedExtensions.refreshRecursively allows
various version control providers to get better control
on behavior of recursive listener.
ProvidedExtensions.canWrite was added.
ProvidedExtensions.canWrite which is called when
MasterFileSystem queries the FileObject for writability.
FileObject instances are not guaranteed to be issued if files, folders
were not created, deleted, modified by FileSystem API and method refresh wasn't properly
called. These methods were semantically changed:
FileObject.getFileObject
FileSystem.findResource
FileObject.getChildren
Method FileUtil.toFileObject should still work as before.
org.netbeans.modules.masterfs.providers.MountSupport org.netbeans.modules.masterfs.providers.FileSystemProvider org.netbeans.modules.masterfs.providers.AutoMountProvider; made by: rmatous; issues:
#123542
org.netbeans.modules.vcscore broken. Following classes deleted:
MountSupport, FileSystemProvider, AutoMountProvider
ProvidedExtensions.fileLock and ProvidedExtensions.fileUnlock was added.
ProvidedExtensions; made by: rmatous; issues:
#106479
ProvidedExtensions.fileLock which is called after
MasterFileSystem locks FileObject
ProvidedExtensions.fileUnlock which is called after
FileObject is unlocked.
ProvidedExtensions.beforeChange was added.
ProvidedExtensions; made by: rmatous; issues:
#92676
ProvidedExtensions.beforeChangewhich is called by
MasterFileSystem when FileObject
is going to be modified by asking for OutputStream.
ProvidedExtensions.getDeleteHandler was added.
ProvidedExtensions; made by: rmatous; issues:
#81510
ProvidedExtensions.getDeleteHandler was added, which
is the way how to impose handlers for
deleting into mastersfs implementation
which was required by module org.netbeans.modules.subversion.
ProvidedExtensions was added.
ProvidedExtensions; made by: rmatous; issues:
#73042
ProvidedExtensions was added.
Registering subclass of ProvidedExtensions
as a substitution of InterceptionListener is the way
how to impose handlers for renaming and moving into mastersfs implementation
which was required by module org.netbeans.modules.subversion.
Built on May 16 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.