sonification.dataimport.visbards_resourcetoolkit.repository.resource
Interface Resource

All Known Implementing Classes:
DefaultResource

public interface Resource

A simple class which holds information about the resource.


Method Summary
 void backupCurrentConfig()
          config -> loaded config.
 ReadConfiguration getCurrentConfig()
          Returns resource configuration to be used next time the resource is loaded.
 java.io.File[] getFiles()
          Returns the files of this resource
 ResourceInfo getInfo()
          Returns the resource info (filenames/type)
 ReadConfiguration getLastLoadedConfig()
          Returns configuration parameters which the resource was last loaded with
 java.lang.String getName()
          Returns the name of this resource
 ResourceReader getReader()
          Returns the reader for this resource
 

Method Detail

getName

java.lang.String getName()
Returns the name of this resource


getReader

ResourceReader getReader()
Returns the reader for this resource


getInfo

ResourceInfo getInfo()
Returns the resource info (filenames/type)


getFiles

java.io.File[] getFiles()
Returns the files of this resource


getCurrentConfig

ReadConfiguration getCurrentConfig()
Returns resource configuration to be used next time the resource is loaded.


getLastLoadedConfig

ReadConfiguration getLastLoadedConfig()
Returns configuration parameters which the resource was last loaded with


backupCurrentConfig

void backupCurrentConfig()
config -> loaded config.