Commit e323ae4c authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Added getFileList function

parent 9e5781c3
package nl.lumc.sasc.biopet.core.config
class ConfigValue(val requestIndex: ConfigValueIndex, val foundIndex: ConfigValueIndex, val value: Any, val default: Boolean) {
def getString = Configurable.any2string(value)
def getInt = Configurable.any2int(value)
def getDouble = Configurable.any2double(value)
def getList = Configurable.any2list(value)
def getFileList: List[File] = for (file <- Configurable.any2stringList(value)) yield new File(file)
def getMap = Configurable.any2map(value)
def getBoolean = Configurable.any2boolean(value)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment