public final class ConfReader
extends java.lang.Object
Zephyr Business Solutions Corp.
Modifier and Type | Method and Description |
---|---|
static ConfReader |
instance()
Creates a ConfReader instance.
|
static ConfReader |
instance(Jaskell jaskell)
Create a ConfReader instance.
|
Configuration |
readConfig(java.io.File f)
Read a jaskell file and return the information in a Configuration object.
|
public Configuration readConfig(java.io.File f) throws java.io.IOException
f
- the jaskell file.java.io.IOException
- when the file cannot be read.public static ConfReader instance(Jaskell jaskell)
jaskell
- the Jaskell runtime object
that is responsible for interpreting the jaskell configuration file.public static ConfReader instance()