Custom protocol plugins

URLStreamHandlerPluginExtension allows the developer to work with a protocol that he designed for retrieving and storing files. There is one method that has to be implemented: getURLStreamHandler(). It takes as an argument the name of the protocol and returns the handler for it, or null if it was not able to find it.

With the help of the URLChooserPluginExtension interface, it is possible to write your own dialog that will work with the custom protocol. This interface provides two methods: