org.semanticdesktop.aperture.opener.impl
Class DataOpenerRegistryImpl

java.lang.Object
  extended by org.semanticdesktop.aperture.opener.impl.DataOpenerRegistryImpl
All Implemented Interfaces:
DataOpenerRegistry
Direct Known Subclasses:
DefaultDataOpenerRegistry

public class DataOpenerRegistryImpl
extends Object
implements DataOpenerRegistry


Constructor Summary
DataOpenerRegistryImpl()
           
 
Method Summary
 void add(DataOpenerFactory factory)
          Register a DataAccessorFactory.
 Set get(String mimeType)
          Get all DataAccessorFactories capable of handling the specified scheme.
 Set getAll()
          Get all registered DataAccessorFactories.
 void remove(DataOpenerFactory factory)
          Removes a registered DataAccessorFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataOpenerRegistryImpl

public DataOpenerRegistryImpl()
Method Detail

add

public void add(DataOpenerFactory factory)
Description copied from interface: DataOpenerRegistry
Register a DataAccessorFactory.

Specified by:
add in interface DataOpenerRegistry

remove

public void remove(DataOpenerFactory factory)
Description copied from interface: DataOpenerRegistry
Removes a registered DataAccessorFactory.

Specified by:
remove in interface DataOpenerRegistry

get

public Set get(String mimeType)
Description copied from interface: DataOpenerRegistry
Get all DataAccessorFactories capable of handling the specified scheme.

Specified by:
get in interface DataOpenerRegistry
Parameters:
mimeType - A scheme, e.g. "http" or "file".
Returns:
A set of DataAccessorFactories for the specified scheme.

getAll

public Set getAll()
Description copied from interface: DataOpenerRegistry
Get all registered DataAccessorFactories.

Specified by:
getAll in interface DataOpenerRegistry


Copyright © 2010 Aperture Development Team. All Rights Reserved.