sonification.dataimport.visbards_resourcetoolkit.repository.resource
Class ResourceReaderFactory

java.lang.Object
  extended by sonification.dataimport.visbards_resourcetoolkit.repository.resource.ResourceReaderFactory

public class ResourceReaderFactory
extends java.lang.Object

Manufactures ResourceReader according to the resource type.


Constructor Summary
ResourceReaderFactory()
           
 
Method Summary
 ResourceReader createCombinedResourceReader(ResourceInfo info)
           
 ResourceReader createMultifileResourceReader(java.io.File[] files, ResourceInfo info, ProgressReporter prg)
           
 ResourceReader createResourceReader(java.io.File file, ResourceInfo info)
           
static ResourceReaderFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceReaderFactory

public ResourceReaderFactory()
Method Detail

getInstance

public static ResourceReaderFactory getInstance()

createCombinedResourceReader

public ResourceReader createCombinedResourceReader(ResourceInfo info)
                                            throws SonificationException
Throws:
SonificationException

createResourceReader

public ResourceReader createResourceReader(java.io.File file,
                                           ResourceInfo info)
                                    throws SonificationException
Throws:
SonificationException

createMultifileResourceReader

public ResourceReader createMultifileResourceReader(java.io.File[] files,
                                                    ResourceInfo info,
                                                    ProgressReporter prg)
                                             throws SonificationException
Throws:
SonificationException