|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.lib.cvsclient.response.CreatedResponse
public class CreatedResponse
Acts just like the Updated response but refuses to overwrite existing files. Server uses either only the Updated response or Created/Update-existing responses, depending on responses supported by client.
Field Summary | |
---|---|
protected java.lang.String |
localFile
fullpath to the file being processed. |
Constructor Summary | |
---|---|
CreatedResponse()
|
Method Summary | |
---|---|
protected java.text.DateFormat |
getDateFormatter()
Returns the DateFormatter instance that parses and formats date Strings. |
protected java.lang.String |
getEntryConflict(java.util.Date date,
boolean hadConflicts)
Returns the Conflict field for the file's entry. |
boolean |
isTerminalResponse()
Is this a terminal response, i.e. |
void |
process(LoggedDataInputStream dis,
ResponseServices services)
Process the data for the response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String localFile
Constructor Detail |
---|
public CreatedResponse()
Method Detail |
---|
public void process(LoggedDataInputStream dis, ResponseServices services) throws ResponseException
process
in interface Response
r
- the buffered reader allowing the client to read the server's
response. Note that the actual response name has already been read
and the reader is positioned just before the first argument, if any.services
- various services that are useful to response handlers
ResponseException
- if something goes wrong handling this responseprotected java.lang.String getEntryConflict(java.util.Date date, boolean hadConflicts)
date
- the date to put inhadConflicts
- if there were conflicts (e.g after merge)
protected java.text.DateFormat getDateFormatter()
public boolean isTerminalResponse()
isTerminalResponse
in interface Response
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |