public class CreatedResponse
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
localFile
fullpath to the file being processed.
|
Constructor and Description |
---|
CreatedResponse() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected java.lang.String localFile
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 handlersResponseException
- 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
Built on January 12 2013. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.