caucho
 


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

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

Memory Filesystem

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.

This can be used in place of a separate application object to store application data.

File Filesystem

new caucho.vfs.FileFilesystem(filename)

This is the familiar filesystem backed by the Java File class and the default root for the object.

Copyright © 1998-2002 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.