sonification.dataimport.visbards_resourcetoolkit.repository
Class RepositoryFactory

java.lang.Object
  extended by sonification.dataimport.visbards_resourcetoolkit.repository.RepositoryFactory

public class RepositoryFactory
extends java.lang.Object

Singleton which is able to construct various kinds of repositories.


Field Summary
static int TYPE_SIMPLE
           
 
Constructor Summary
RepositoryFactory()
           
 
Method Summary
 Repository createRepository(Resource resource)
           
 Repository createRepository(Resource resource, ProgressReporter prg)
           
static RepositoryFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_SIMPLE

public static final int TYPE_SIMPLE
See Also:
Constant Field Values
Constructor Detail

RepositoryFactory

public RepositoryFactory()
Method Detail

getInstance

public static RepositoryFactory getInstance()

createRepository

public Repository createRepository(Resource resource)
                            throws SonificationException
Throws:
SonificationException

createRepository

public Repository createRepository(Resource resource,
                                   ProgressReporter prg)
                            throws SonificationException
Throws:
SonificationException