filesystems.xtp

来自「解压在c盘」· XTP 代码 · 共 31 行

XTP
31
字号
<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 + =
减小字号Ctrl + -
显示快捷键?