Java Doc for ResponseServices.java in  » IDE-Netbeans » cvsclient » org » netbeans » lib » cvsclient » response » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » cvsclient » org.netbeans.lib.cvsclient.response 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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




Method Summary
 voidaddWrapper(StringPattern pattern, KeywordSubstitutionOptions option)
    
 StringconvertPathname(String localDirectory, String repository)
    
 voidcopyLocalFile(String pathname, String newname)
    
 voiddontUseGzipFileHandler()
     ReSet the filehandler for Gzip compressed data.
 EventManagergetEventManager()
     Get the CVS event manager.
 GlobalOptionsgetGlobalOptions()
     Get the global options that are set to this client.
 FileHandlergetGzipFileHandler()
     Obtain the file handler for Gzip compressed data.
 DategetNextFileDate()
     Get the modified date of the next file to be written.
 FileHandlergetUncompressedFileHandler()
     Obtain from the underlying implementation the file handler for handling uncompressed data.
 voidremoveEntry(File f)
    
 voidremoveLocalFile(String pathname)
     Remove the specified file from the local disk If the file does not exist, the operation does nothing.
 voidremoveLocalFile(String localPath, String repositoryFileName)
     Remove the specified file from the local disk.
 voidsetEntry(File f, Entry e)
    
 voidsetNextFileDate(Date modifiedDate)
     Set the modified date of the next file to be written.
 voidsetValidRequests(String requests)
     This method is called when a response for the ValidRequests request is received.
 voidupdateAdminData(String localDirectory, String repositoryPath, Entry entry)
     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.



Method Detail
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



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.