| java.lang.Object org.netbeans.lib.cvsclient.response.UpdatedResponse
All known Subclasses: org.netbeans.lib.cvsclient.response.CreatedResponse, org.netbeans.lib.cvsclient.response.MergedResponse,
UpdatedResponse | class UpdatedResponse implements Response(Code) | | Sends a new copy of a particular file, indicating that the file currently
checked-out needs to be updated with the one sent with this response.
author: Robert Greig |
Field Summary | |
protected String | localFile fullpath to the file being processed. |
localFile | protected String localFile(Code) | | fullpath to the file being processed. Is used in Merged response when sending EnhancedMessageEvent
|
getDateFormatter | protected DateFormat getDateFormatter()(Code) | | Returns the DateFormatter instance that parses and formats date Strings.
The exact format matches the one in Entry.getLastModifiedDateFormatter() method.
|
getEntryConflict | protected String getEntryConflict(Date date, boolean hadConflicts)(Code) | | Returns the Conflict field for the file's entry.
Can be overriden by subclasses.
(For example the MergedResponse that sets the "result of merge" there.)
Parameters: date - the date to put in Parameters: hadConflicts - if there were conflicts (e.g after merge) the conflict field |
isTerminalResponse | public boolean isTerminalResponse()(Code) | | Is this a terminal response, i.e. should reading of responses stop
after this response. This is true for responses such as OK or
an error response
|
process | public void process(LoggedDataInputStream dis, ResponseServices services) throws ResponseException(Code) | | Process the data for the response.
Parameters: r - the buffered reader allowing the client to read the server'sresponse. Note that the actual response name has already been readand the reader is positioned just before the first argument, if any. Parameters: services - various services that are useful to response handlers throws: ResponseException - if something goes wrong handling this response |
|
|