org.semanticdesktop.aperture.accessor
Interface DataAccessorRegistry

All Known Implementing Classes:
DataAccessorRegistryImpl, DefaultDataAccessorRegistry

public interface DataAccessorRegistry

A DataAccessorRegistry keeps track of the available DataAccessorFactories.


Method Summary
 void add(DataAccessorFactory factory)
          Register a DataAccessorFactory.
 Set get(String scheme)
          Get all DataAccessorFactories capable of handling the specified scheme.
 Set getAll()
          Get all registered DataAccessorFactories.
 void remove(DataAccessorFactory factory)
          Removes a registered DataAccessorFactory.
 

Method Detail

add

void add(DataAccessorFactory factory)
Register a DataAccessorFactory.


remove

void remove(DataAccessorFactory factory)
Removes a registered DataAccessorFactory.


getAll

Set getAll()
Get all registered DataAccessorFactories.


get

Set get(String scheme)
Get all DataAccessorFactories capable of handling the specified scheme.

Parameters:
scheme - A scheme, e.g. "http" or "file".
Returns:
A set of DataAccessorFactories for the specified scheme.


Copyright © 2010 Aperture Development Team. All Rights Reserved.