1 4 package com.tc.util; 5 6 import java.io.File ; 7 import java.io.IOException ; 8 9 public interface ArchiveBuilder { 10 11 public void putTraverseDirectory(File dir, String dirName) throws IOException ; 12 13 public void putDirEntry(String file) throws IOException ; 14 15 public void putEntry(String file, byte[] bytes) throws IOException ; 16 17 public void finish() throws IOException ; 18 19 public byte[] readFile(File file) throws IOException ; 20 } 21 | Popular Tags |