|
org.netbeans.modules.masterfs/1 1.11 | |||||||||
| 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.beforeChange was added.
ProvidedExtensions.beforeChangewhich is called by
MasterFileSystem when FileObject
is going to be modified by asking for OutputStream.
ProvidedExtensions.getDeleteHandler was added.
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 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.
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/1 1.11 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||