org.jfree.repository.zipwriter
Class ZipRepository
java.lang.Object
org.jfree.repository.zipwriter.ZipRepository
- All Implemented Interfaces:
- Repository
public class ZipRepository
- extends java.lang.Object
- implements Repository
Creation-Date: 01.12.2006, 21:12:39
- Author:
- Thomas Morgner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipRepository
public ZipRepository(java.io.OutputStream out,
int level,
MimeRegistry mimeRegistry)
ZipRepository
public ZipRepository(java.io.OutputStream out,
int level)
ZipRepository
public ZipRepository(java.io.OutputStream out)
getRoot
public ContentLocation getRoot()
throws ContentIOException
- Specified by:
getRoot
in interface Repository
- Throws:
ContentIOException
getMimeRegistry
public MimeRegistry getMimeRegistry()
- Specified by:
getMimeRegistry
in interface Repository
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
writeDirectory
public void writeDirectory(java.util.zip.ZipEntry entry)
throws java.io.IOException
- Throws:
java.io.IOException
writeContent
public void writeContent(java.util.zip.ZipEntry entry,
java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException