Interface Repository

All Known Subinterfaces:
UrlRepository
All Known Implementing Classes:
DummyRepository, FileRepository, StreamRepository, ZipReadRepository, ZipRepository, ZipRepository

public interface Repository
A repository represents a abstract view on a filesystem. It always has a single root-entry and grants access to a repository-specific mime-registry.
Author:
Thomas Morgner
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the repositories MimeRegistry, which is used return basic content-type information about the items stored in this repository.
    Returns the repositories root directory entry.
  • Method Details

    • getRoot

      Returns the repositories root directory entry.
      Returns:
      the root directory.
      Throws:
      ContentIOException - if an error occurs.
    • getMimeRegistry

      MimeRegistry getMimeRegistry()
      Returns the repositories MimeRegistry, which is used return basic content-type information about the items stored in this repository.
      Returns:
      the mime registry.
      See Also: