org.netbeans.lib.cvsclient.request
Class DirectoryRequest

java.lang.Object
  extended by org.netbeans.lib.cvsclient.request.Request
      extended by org.netbeans.lib.cvsclient.request.DirectoryRequest

public final class DirectoryRequest
extends Request

The directory request. Tell the server which directory to use.

Author:
Robert Greig

Constructor Summary
DirectoryRequest(String localDirectory, String repository)
          Create a new DirectoryRequest
 
Method Summary
 String getLocalDirectory()
          Returns the value of used local directory.
 String getRepository()
          Returns the value of used repository directory.
 String getRequestString()
          Get the request String that will be passed to the server
 boolean isResponseExpected()
          Is a response expected from the server?
 
Methods inherited from class org.netbeans.lib.cvsclient.request.Request
getFileForTransmission, modifiesInputStream, modifyInputStream, modifyOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryRequest

public DirectoryRequest(String localDirectory,
                        String repository)
Create a new DirectoryRequest

Parameters:
theLocalDirectory - the local directory argument
theRepository - the repository argument
Method Detail

getLocalDirectory

public String getLocalDirectory()
Returns the value of used local directory.


getRepository

public String getRepository()
Returns the value of used repository directory.


getRequestString

public String getRequestString()
Get the request String that will be passed to the server

Specified by:
getRequestString in class Request
Returns:
the request String

isResponseExpected

public boolean isResponseExpected()
Is a response expected from the server?

Specified by:
isResponseExpected in class Request
Returns:
true if a response is expected, false if no response if expected


Copyright © 2011. All Rights Reserved.