|
org.netbeans.modules.masterfs/2 2.36 | |||||||||
| 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.
Implementation of native listeners has been moved to separate modules, so the masterfs itself does not depend on JNA library.
Introduced a new constructor parameter providesCanWrite to specify if a
ProvidedExtensions instance is meant to provide the canWrite() value for a file.
ProvidedExtensions.getCopyHandler() allows to delegate a copy operation.
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.priorityIO allows
parsing API to suspend background I/O activity after refresh
of main window.
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.36 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||