| org.netbeans.lib.cvsclient.response.ResponseServices
All known Subclasses: org.netbeans.lib.cvsclient.Client,
ResponseServices | public interface ResponseServices (Code) | | Services that are provided to response handlers.
author: Robert Greig |
addWrapper | void addWrapper(StringPattern pattern, KeywordSubstitutionOptions option)(Code) | | This method is called by WrapperSendResponse for each wrapper setting sent
back by the CVS server
Parameters: pattern - A StringPattern indicating the pattern for which thewrapper applies Parameters: option - A KeywordSubstituionOption corresponding to the setting |
convertPathname | String convertPathname(String localDirectory, String repository)(Code) | | Convert a pathname in the CVS sense (see 5.10 in the protocol
document) into a local pathname for the file
Parameters: localDirectory - the name of the local directory, relative to thedirectory in which the command was given Parameters: repository - the full repository name for the file |
copyLocalFile | void copyLocalFile(String pathname, String newname) throws IOException(Code) | | Copy the local file
Parameters: pathname - the full path to the file to coyp Parameters: newname - the new name of the file (not the full path) throws: IOException - if an IO error occurs while copying the file |
dontUseGzipFileHandler | void dontUseGzipFileHandler()(Code) | | ReSet the filehandler for Gzip compressed data. Makes sure the
requests for sending gzipped data are not sent..
|
getEventManager | EventManager getEventManager()(Code) | | Get the CVS event manager. This is generally called by response handlers
that want to fire events.
the eventManager |
getGlobalOptions | GlobalOptions getGlobalOptions()(Code) | | Get the global options that are set to this client.
Individual commands can get the global options via this method.
|
getGzipFileHandler | FileHandler getGzipFileHandler()(Code) | | Obtain the file handler for Gzip compressed data.
file handler for Gzip compressed data. |
getNextFileDate | Date getNextFileDate()(Code) | | Get the modified date of the next file to be written. This will also
null any stored date so that future calls will not retrieve a date
that was meant for a previous file.
the date the next file should be marked as having been modifiedon. |
getUncompressedFileHandler | FileHandler getUncompressedFileHandler()(Code) | | Obtain from the underlying implementation the file handler for
handling uncompressed data.
file handler for uncompressed data. |
removeEntry | void removeEntry(File f) throws IOException(Code) | | Remove the Entry for the specified file
Parameters: f - the file whose entry is to be removed throws: IOException - if an error occurs writing the Entries file |
removeLocalFile | void removeLocalFile(String pathname) throws IOException(Code) | | Remove the specified file from the local disk
If the file does not exist, the operation does nothing.
Parameters: pathname - the full path to the file to remove throws: IOException - if an IO error occurs while removing the file |
removeLocalFile | void removeLocalFile(String localPath, String repositoryFileName) throws IOException(Code) | | Remove the specified file from the local disk.
throws: IOException - if an IO error occurs while removing the file |
setEntry | void setEntry(File f, Entry e) throws IOException(Code) | | Set the Entry for the specified file
Parameters: f - the file Parameters: e - the new entry throws: IOException - if an error occurs writing the details |
setNextFileDate | void setNextFileDate(Date modifiedDate)(Code) | | Set the modified date of the next file to be written. The next call
to writeFile will use this date.
Parameters: modifiedDate - the date the file should be marked as modified |
setValidRequests | void setValidRequests(String requests)(Code) | | This method is called when a response for the ValidRequests request
is received.
Parameters: requests - A List of requests that is valid for this CVS server separated by spaces. |
updateAdminData | void updateAdminData(String localDirectory, String repositoryPath, Entry entry) throws IOException(Code) | | Create or update the administration files for a particular file
This will create the CVS directory if necessary, and the
Root and Repository files if necessary. It will also update
the Entries file with the new entry
Parameters: localDirectory - the local directory, relative to the directoryin which the command was given, where the file in question lives Parameters: entry - the entry object for that file throws: IOException - if there is an error writing the files |
|
|