public class EvwConfigUtil
extends java.lang.Object
Common methods for configuring eventweb servers.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
DEP_LIST
Class dependencies
|
static java.lang.String |
VERSION
Class version
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<TvList> |
getMultiConfig(java.io.File iniFile)
Read in multiple config lists and strip out blanks and comments.
|
static TvList |
getSimpleConfig(java.io.File iniFile)
Read in config list and strip out blanks and comments.
|
static TvList |
parseCmdLine(java.lang.String[] args)
Get command line parameters.
|
static TvList |
parseCmdString(java.lang.String line)
Get parameters from a command line string.
|
public static final java.lang.String VERSION
public static final java.lang.String[] DEP_LIST
public static TvList parseCmdLine(java.lang.String[] args)
args - Command line argumentspublic static TvList parseCmdString(java.lang.String line)
line - Command line stringpublic static java.util.List<TvList> getMultiConfig(java.io.File iniFile) throws java.io.IOException
iniFile - Configuration filejava.io.IOException - If there was a problem reading the filepublic static TvList getSimpleConfig(java.io.File iniFile) throws java.io.IOException
iniFile - Configuration filejava.io.IOException - If there was a problem reading the file