sonification.dataimport.visbards_resourcetoolkit.repository.resource
Class ResourceFactory

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

public class ResourceFactory
extends java.lang.Object

Manufactures a resources


Constructor Summary
ResourceFactory()
           
 
Method Summary
 Resource createCombinedResource(ResourceInfo info)
           
 Resource createMultifileResource(java.io.File[] files, ProgressReporter prg)
          Create a multifile Resource
 Resource createResource(java.io.File file)
          Create a single file Resource
static ResourceFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceFactory

public ResourceFactory()
Method Detail

getInstance

public static ResourceFactory getInstance()

createCombinedResource

public Resource createCombinedResource(ResourceInfo info)
                                throws SonificationException
Throws:
SonificationException

createMultifileResource

public Resource createMultifileResource(java.io.File[] files,
                                        ProgressReporter prg)
                                 throws SonificationException
Create a multifile Resource

Throws:
SonificationException

createResource

public Resource createResource(java.io.File file)
                        throws SonificationException
Create a single file Resource

Throws:
SonificationException