/[gzz]/gzz/lava/gzz/storm/impl/ZipPool.java
ViewVC logotype

Diff of /gzz/lava/gzz/storm/impl/ZipPool.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by benja, Mon Dec 30 13:48:23 2002 UTC revision 1.11 by benja, Mon Jan 13 23:21:44 2003 UTC
# Line 7  import java.io.*; Line 7  import java.io.*;
7  import java.util.*;  import java.util.*;
8  import java.util.zip.*;  import java.util.zip.*;
9    
10    /** A Pool storing blocks in a zip file.
11     *  Attention: This does not support indexing yet!
12     */
13  public class ZipPool extends AbstractLocalPool {  public class ZipPool extends AbstractLocalPool {
14    
15          protected Map blocks = new HashMap();          protected Map blocks = new HashMap();
# Line 56  file.getInputStream(file.getEntry(name)) Line 59  file.getInputStream(file.getEntry(name))
59             }             }
60          }          }
61    
62          public ZipPool(ZipFile file, Set indexTypes) {          public ZipPool(ZipFile file, Set indexTypes) throws IOException {
63              super(indexTypes);              super(indexTypes);
64              this.file = file;              this.file = file;
65          }          }
# Line 160  IOException{ Line 163  IOException{
163  IOException{  IOException{
164              return new ZipBlockOutputStream(new VerbatimHeader822(hdr));              return new ZipBlockOutputStream(new VerbatimHeader822(hdr));
165          }          }
166    
167        // XXX temporary, until we have an implementation
168        protected DB getDB(String typeURI) {
169            throw new UnsupportedOperationException("Not implemented");
170        }
171  }  }

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26