Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.vrspace.server.command
Class upload  view upload download upload.java

java.lang.Object
  extended byorg.vrspace.server.command.upload
All Implemented Interfaces:
org.vrspace.server.Command

public class upload
extends java.lang.Object
implements org.vrspace.server.Command

Request format: upload className path
className is expected to be File or one of its subclasses. The command creates a new instance of className in the database with name equal to path. Then it calls set_upload on the new object with the given path.


Constructor Summary
upload()
           
 
Method Summary
 void exec(org.vrspace.server.Request req)
          Request format: upload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

upload

public upload()
Method Detail

exec

public void exec(org.vrspace.server.Request req)
          throws java.lang.Exception
Request format: upload

Specified by:
exec in interface org.vrspace.server.Command