allensoft.javacvs.client
Class SingleFileCVSRequest

java.lang.Object
  |
  +--allensoft.javacvs.client.CVSCommunicationsObject
        |
        +--allensoft.javacvs.client.CVSRequest
              |
              +--allensoft.javacvs.client.SingleFileCVSRequest

public abstract class SingleFileCVSRequest
extends CVSRequest

The base class for all cvs requests that operate on a single file in a working directory.


Constructor Summary
protected SingleFileCVSRequest(java.io.File file)
          Creates a new SingleFileCVSREquest for the supplied file.
 
Method Summary
 java.io.File getCurrentDirectory()
          Gets the directory that all file paths are specified relative to when executing this request.
 java.io.File getFile()
           
 RepositoryLocation getRepositoryLocation()
          Gets the repository location that the client must connect to in order to perform this request.
 
Methods inherited from class allensoft.javacvs.client.CVSRequest
canSendIsModified, createResponse, fireStatusUpdate, getClient, getDescription, getException, getRequest, getResourceString, getResponse, getSendQuestionableCommands, hasCompletedSuccessfully, performRequest, sendRequest, validateRequest, waitForSuccessfulCompletion
 
Methods inherited from class allensoft.javacvs.client.CVSCommunicationsObject
expandModules, flush, getFileFromRelativePath, getRelativePath, getRelativePath, getRelativePath, getWrapperRCSOptions, performSubRequest, receiveFile, receiveFile, receiveLine, sendArgument, sendArgument, sendArgument, sendArgument, sendCheckinProg, sendCurrentDirectory, sendDateOption, sendDirectory, sendDirectory, sendEntry, sendFileDetails, sendFileDetails, sendFileDetails, sendGlobalOption, sendKopt, sendLine, sendModified, sendOptions, sendStaticDirectory, sendSticky, sendText, sendUnchanged, sendUpdateProg, sendWorkingDirectoryDetails, sendWorkingDirectoryDetails, sendWorkingDirectoryDetails, validRequests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleFileCVSRequest

protected SingleFileCVSRequest(java.io.File file)
                        throws CVSException,
                               java.io.IOException
Creates a new SingleFileCVSREquest for the supplied file.
Method Detail

getFile

public java.io.File getFile()

getRepositoryLocation

public RepositoryLocation getRepositoryLocation()
Description copied from class: CVSRequest
Gets the repository location that the client must connect to in order to perform this request.
Overrides:
getRepositoryLocation in class CVSRequest

getCurrentDirectory

public java.io.File getCurrentDirectory()
Description copied from class: CVSRequest
Gets the directory that all file paths are specified relative to when executing this request.
Overrides:
getCurrentDirectory in class CVSRequest