|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsonification.dataimport.visbards_resourcetoolkit.repository.resource.DefaultResource
public class DefaultResource
A simple class which holds information about the resource.
| Constructor Summary | |
|---|---|
DefaultResource(ResourceInfo info,
ResourceReader rdr,
ReadConfiguration config,
java.io.File[] sources)
|
|
| 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 |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultResource(ResourceInfo info,
ResourceReader rdr,
ReadConfiguration config,
java.io.File[] sources)
| Method Detail |
|---|
public ResourceReader getReader()
Resource
getReader in interface Resourcepublic ResourceInfo getInfo()
Resource
getInfo in interface Resourcepublic java.io.File[] getFiles()
getFiles in interface Resourcepublic ReadConfiguration getCurrentConfig()
getCurrentConfig in interface Resourcepublic ReadConfiguration getLastLoadedConfig()
getLastLoadedConfig in interface Resourcepublic void backupCurrentConfig()
backupCurrentConfig in interface Resourcepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
Resource
getName in interface Resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||