|
org.netbeans.modules.masterfs/2 2.15 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
See:
Description
| Master Filesystem | |
|---|---|
| org.netbeans.modules.masterfs.providers | |
MasterFileSystem exports SPI for versioning support. There is expected that
module that provides implementation of FileSystem that should be plugable into
MasterFileSystem must implement at least FileSystemProvider.
MasterFileSystem doesn't provide pure client API but has tiny API that
is intended just for SPI providers (slightly disputable if it should be called API or SPI).
All SPI are plugable, registred by Lookup.
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.
Friend contract for org.netbeans.modules.vcscore broken. Following classes deleted:
MountSupport, FileSystemProvider, AutoMountProvider
ProvidedExtensions.fileLock and ProvidedExtensions.fileUnlock was added.
ProvidedExtensions.fileLock which is called after
MasterFileSystem locks FileObject
ProvidedExtensions.fileUnlock which is called after
FileObject is unlocked.
ProvidedExtensions.beforeChange was added.
ProvidedExtensions.beforeChangewhich is called by
MasterFileSystem when FileObject
is going to be modified by asking for OutputStream.
URLMapper or
FileUtil.fromFile provided by LocalFileSystem or
CvsFileSystem will be now provided by MasterFileSystem.
There will be guaranteed that there won't be more instances of FileObject
addressing one java.ioFile.
|
FileUtil.toFileObject and so on, and thus
implicitly depend on the existence of this module. In the
future a provide-require token might make sense.
Read more about the implementation in the answers to architecture questions.
|
org.netbeans.modules.masterfs/2 2.15 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||