org.torweg.pulse.component.util.vfs
Class VFSImporter
java.lang.Object
org.torweg.pulse.bundle.Controller
org.torweg.pulse.component.util.vfs.VFSImporter
public final class VFSImporter
- extends Controller
is an import tool for the VirtualFileSystem.
It supports the recursive import of a given directory of the servers file
system into a given directory of the VirtualFileSystem
sanitising the file and directory names.
The results of the import can be outputted as XML, Excel 97/2007 or CSV.
- Version:
- $Revision: 1581 $
- Author:
- Thomas Weber
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VFSImporter
public VFSImporter()
importIntoVFS
@Action(value="importIntoVFS")
@Permission(value="importIntoVFS")
public java.lang.Object importIntoVFS(ServiceRequest request)
- performs the import (see details for required
Parameters.
The import Command requires the following
Parameters:
- source: the source folder in the file system as a
URI
- destination: the destination folder in the
VirtualFileSystem as a URI
- Parameters:
request - the current request
- Returns:
null
updateFileSize
@Action(value="updateFileSize")
@Permission(value="importIntoVFS")
public java.lang.Object updateFileSize(ServiceRequest request)
- updates the file size of all
VirtualFiles.
- Parameters:
request - the current request
- Returns:
- an
null