org.apache.ftpserver.usermanager
Class WriteRequest

java.lang.Object
  extended by org.apache.ftpserver.usermanager.WriteRequest
All Implemented Interfaces:
AuthorizationRequest

public class WriteRequest
extends java.lang.Object
implements AuthorizationRequest

Class representing a write request


Constructor Summary
WriteRequest()
          Request write access to the user home directory (/)
WriteRequest(java.lang.String file)
          Request write access to a file or directory relative to the user home directory
 
Method Summary
 java.lang.String getFile()
          Get the file or directory to which write access is requested
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriteRequest

public WriteRequest()
Request write access to the user home directory (/)


WriteRequest

public WriteRequest(java.lang.String file)
Request write access to a file or directory relative to the user home directory

Parameters:
file -
Method Detail

getFile

public java.lang.String getFile()
Get the file or directory to which write access is requested

Returns:
the file The file or directory


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.