allensoft.javacvs.client
Class DiffRequest
java.lang.Object
|
+--allensoft.javacvs.client.CVSCommunicationsObject
|
+--allensoft.javacvs.client.CVSRequest
|
+--allensoft.javacvs.client.MultiFileCVSRequest
|
+--allensoft.javacvs.client.DiffRequest
- public class DiffRequest
- extends MultiFileCVSRequest
Methods inherited from class allensoft.javacvs.client.CVSRequest |
fireStatusUpdate, getClient, getDescription, getException, getRequest, getResourceString, getResponse, getSendQuestionableCommands, hasCompletedSuccessfully, performRequest, 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 |
DiffRequest
public DiffRequest()
DiffRequest
public DiffRequest(java.io.File file)
throws java.io.IOException,
CVSException
DiffRequest
public DiffRequest(java.io.File[] files)
throws java.io.IOException,
CVSException
DiffRequest
public DiffRequest(DiffOptions options)
DiffRequest
public DiffRequest(java.io.File file,
DiffOptions options)
throws java.io.IOException,
CVSException
DiffRequest
public DiffRequest(java.io.File[] files,
DiffOptions options)
throws java.io.IOException,
CVSException
canSendIsModified
protected boolean canSendIsModified()
- Description copied from class:
CVSRequest
- Determines if this request can send Is-modified commands to the server
instead of Modified commands. The Is-modified command just tells the server that
a file has been modified, wheras the Modified command send the contents of the file
as well. Please see the client protocol specification for more details. The default
is to return false here so that Modified commands are sent instead of Is-modified.
- Overrides:
canSendIsModified
in class CVSRequest
getOptions
public DiffOptions getOptions()
setOptions
public void setOptions(DiffOptions options)
sendRequest
protected void sendRequest()
throws java.io.IOException,
CVSException
- Description copied from class:
CVSRequest
- Sends this request to the server.
- Overrides:
sendRequest
in class CVSRequest
createResponse
protected CVSResponse createResponse()
- Description copied from class:
CVSRequest
- Creates the response object used to receive the response for this request from
the server.
- Overrides:
createResponse
in class CVSRequest
- Following copied from class:
allensoft.javacvs.client.CVSRequest
- Returns:
- the response object for this request or null if no response is expected.