<title css='default.css'>Special Filesystems</title>
<macro name='path'><a href='path.html'>Path</a></macro>

The Resin <path/> object supports a virtual filesystem.  This means that
you can use the same familiar <path/> interface to access ftp and http
files, to store data in a hierarchy, to send mail, or to access ldap
directories.

<p>Currently, the memory filesystem is the only supported filesystem.
The beta plans to include mailto and http filesystems and possibly
jndi and ftp filesystems.
</p>

<h2>Memory Filesystem</h2>

<defun title='new caucho.vfs.MemoryFilesystem()'>
Creates a filesystem entirely in memory.  Objects, directories and
files are supported, so you can create a kiosk for different pages in
the application to share memory.

<p>This can be used in place of a separate application object to store
application data.</p> 
</defun>

<h2>File Filesystem</h2>

<defun title='new caucho.vfs.FileFilesystem(filename)'>
This is the familiar filesystem backed by the Java File class and the
default root for the <path/> object.
</defun>
