01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.common.files;
09:
10: //base classes
11: import java.io.ByteArrayOutputStream;
12: import java.io.File;
13: import java.io.IOException;
14: import java.io.InputStream;
15: import java.util.ArrayList;
16: import java.util.HashMap;
17: import java.util.HashSet;
18: import java.util.StringTokenizer;
19: import java.util.zip.ZipEntry;
20: import java.util.zip.ZipInputStream;
21: import java.util.zip.ZipOutputStream;
22:
23: //project specific classes
24: import org.jfolder.common.UnexpectedSystemException;
25:
26: //other classes
27:
28: public interface VirtualFileSystemRoot extends VirtualFileSystemHolder {
29:
30: public void zip(ZipOutputStream inZos) throws IOException;
31:
32: public void unzip(InputStream inIs) throws IOException;
33:
34: public void copyTo(VirtualFileSystemHolder inFsh);
35: }
|