📄 filesystems.xtp
字号:
<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 thatyou can use the same familiar <path/> interface to access ftp and httpfiles, to store data in a hierarchy, to send mail, or to access ldapdirectories.<p>Currently, the memory filesystem is the only supported filesystem.The beta plans to include mailto and http filesystems and possiblyjndi and ftp filesystems.</p><h2>Memory Filesystem</h2><defun title='new caucho.vfs.MemoryFilesystem()'>Creates a filesystem entirely in memory. Objects, directories andfiles are supported, so you can create a kiosk for different pages inthe application to share memory.<p>This can be used in place of a separate application object to storeapplication 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 thedefault root for the <path/> object.</defun>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -