1 22 package org.netbeans.lib.cvsclient.file; 23 24 import java.io.*; 25 import java.util.*; 26 27 import org.netbeans.lib.cvsclient.command.*; 28 import org.netbeans.lib.cvsclient.request.*; 29 import org.netbeans.lib.cvsclient.util.*; 30 31 37 public interface FileHandler { 38 44 void transmitTextFile(File file, LoggedDataOutputStream dos) 45 throws IOException; 46 47 53 void transmitBinaryFile(File file, LoggedDataOutputStream dos) 54 throws IOException; 55 56 64 void writeTextFile(String path, String mode, LoggedDataInputStream dis, 65 int length) throws IOException; 66 67 76 void writeRcsDiffFile(String path, String mode, LoggedDataInputStream dis, 77 int length) throws IOException; 78 79 87 void writeBinaryFile(String path, String mode, LoggedDataInputStream dis, 88 int length) throws IOException; 89 90 97 void removeLocalFile(String pathname) throws IOException; 98 99 107 void renameLocalFile(String pathname, String newName) throws IOException; 108 109 114 void setNextFileDate(Date modifiedDate); 115 116 121 Request[] getInitialisationRequests(); 122 123 127 void setGlobalOptions(GlobalOptions globalOptions); 128 } 129 | Popular Tags |