public class ZipReadRepository extends Object implements Repository
Constructor and Description |
---|
ZipReadRepository(InputStream in) |
ZipReadRepository(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(InputStream in) throws IOException
IOException
public ZipReadRepository(InputStream in, MimeRegistry mimeRegistry) throws IOException
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