public class ZipReadRepository extends java.lang.Object implements Repository
Constructor and Description |
---|
ZipReadRepository(java.io.InputStream in) |
ZipReadRepository(java.io.InputStream in,
MimeRegistry mimeRegistry) |
Modifier and Type | Method and Description |
---|---|
MimeRegistry |
getMimeRegistry()
Returns the repositories MimeRegistry, which is used return basic content-type information about the items stored
in this repository.
|
ContentLocation |
getRoot()
Returns the repositories root directory entry.
|
public ZipReadRepository(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public ZipReadRepository(java.io.InputStream in, MimeRegistry mimeRegistry) throws java.io.IOException
java.io.IOException
public ContentLocation getRoot() throws ContentIOException
Repository
getRoot
in interface Repository
ContentIOException
- if an error occurs.public MimeRegistry getMimeRegistry()
Repository
getMimeRegistry
in interface Repository
MimeRegistry