1 22 package org.netbeans.lib.cvsclient.response; 23 24 import java.io.*; 25 import java.util.*; 26 27 import org.netbeans.lib.cvsclient.admin.*; 28 import org.netbeans.lib.cvsclient.command.GlobalOptions; 29 import org.netbeans.lib.cvsclient.event.*; 30 import org.netbeans.lib.cvsclient.file.*; 31 import org.netbeans.lib.cvsclient.util.StringPattern; 32 import org.netbeans.lib.cvsclient.command.KeywordSubstitutionOptions; 33 34 38 public interface ResponseServices { 39 44 void setNextFileDate(Date modifiedDate); 45 46 53 Date getNextFileDate(); 54 55 62 String convertPathname(String localDirectory, String repository); 63 64 74 void updateAdminData(String localDirectory, String repositoryPath, 75 Entry entry) 76 throws IOException; 77 78 84 void setEntry(File f, Entry e) throws IOException; 85 86 91 void removeEntry(File f) throws IOException; 92 93 100 void removeLocalFile(String pathname) throws IOException; 101 102 106 void removeLocalFile(String localPath, String repositoryFileName) 107 throws IOException; 108 109 115 void renameLocalFile(String pathname, String newName) throws IOException; 116 117 122 EventManager getEventManager(); 123 124 129 FileHandler getUncompressedFileHandler(); 130 131 135 FileHandler getGzipFileHandler(); 136 137 141 void dontUseGzipFileHandler(); 142 143 149 void setValidRequests(String requests); 150 151 152 159 void addWrapper(StringPattern pattern, KeywordSubstitutionOptions option); 160 161 165 GlobalOptions getGlobalOptions(); 166 } 167 | Popular Tags |