Example source code for a custom protocol handler for the virtual file system.

[attachments|VFS_MyProtocol.java]

In the user manager, make a new VFS item.  Set its protocol to be CUSTOM, and use a URL like this:

CUSTOM_com.myprotocol.VFS_MyProtocol://any_data_you_want_on_the_url/