org.pentaho.reporting.libraries.repository

Interface Repository

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
MimeRegistrygetMimeRegistry()
Returns the repositories MimeRegistry, which is used return basic content-type information about the items stored in this repository.
ContentLocationgetRoot()
Returns the repositories root directory entry.

Method Detail

getMimeRegistry

public 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: MimeRegistry

getRoot

public ContentLocation getRoot()
Returns the repositories root directory entry.

Returns: the root directory.

Throws: ContentIOException if an error occurs.