1 26 27 28 package org.objectweb.openccm.descriptor; 29 30 import java.io.IOException ; 31 import java.io.Reader ; 32 import java.io.InputStream ; 33 import java.io.File ; 34 import java.util.zip.ZipFile ; 35 44 public interface StreamManager 45 { 46 public void 47 connectTemporaryFile(File file); 48 49 public void 50 deleteAllTemporaryFiles(); 51 52 public void 53 connectOpenInputStream(InputStream isr); 54 55 public void 56 closeAllOpenInputStreams() 57 throws IOException ; 58 59 public void 60 connectOpenReader(Reader reader); 61 62 public void 63 closeAllOpenReaders() 64 throws IOException ; 65 66 public void 67 clearAllStream() 68 throws IOException ; 69 70 public void 71 connectOpenZipFile(ZipFile zipFile); 72 73 public void 74 closeAllOpenZipFile() 75 throws IOException ; 76 77 } | Popular Tags |