|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.driver.CoinsOptions
An abstraction of COINS options at a command line.
Standard COINS options (which means the options that affects driver API
objects) are listed below:
フィールドの概要 | |
static java.lang.String |
DEBUG
The option string to tell that the compiler is under debugging. |
static java.lang.String |
DEFAULT_LIBDIR
The default library directory path when a directory `coins' doesn't exist at a user home directory. |
static java.lang.String |
DEFAULT_LIBDIR_NAME_AT_HOME
The default library directory name at a user home directory. |
static java.lang.String |
DEFAULT_PROPERTY_FILENAME
The default property file name. |
protected java.lang.String |
fArgumentString
|
static java.lang.String |
LIBDIR
The "library directory" option string. |
static java.lang.String |
PRESERVE_FILES
The option string to preserve temporary files. |
static java.lang.String |
PROPERTY_FILE
The "property file path" option string. |
static java.lang.String |
SUFFIX_FILE_PATH
The "suffix database file path" option string. |
static java.lang.String |
SUFFIX_OPTION
The "suffix option" option string. |
static java.lang.String |
TRACE
The "trace" option string. |
コンストラクタの概要 | |
CoinsOptions(java.lang.String argumentString)
Constructs a CoinsOptions object from an argument string of a -coins option. |
メソッドの概要 | |
java.lang.String |
getArg(java.lang.String pOption)
Returns the argument of an option in this COINS option. |
java.io.File |
getLibDir()
Returns library directory path. |
java.util.Set |
getOptionKeys()
|
boolean |
isSet(java.lang.String pOption)
Tests if an option is set or not in this COINS option. |
java.util.Map |
parseArgument(java.lang.String pArgument,
char pCategoryDelimiter,
char pValueDelimiter)
parseArgument Get option categories doing division of pArgument by pCategoryDelimiter and then record option items and corresponding option values doing division of each option category by pValueDelimiter. |
void |
readPropertyFile(Warning pWarning)
Reads a property file if it exists and merges its contents to the option table when they don't exist. |
void |
set(java.lang.String pOption)
Sets a COINS option without argument. |
void |
set(java.lang.String pOption,
java.lang.String pArg)
Sets a COINS option with an argument. |
java.lang.String |
toString()
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
public static final java.lang.String DEFAULT_LIBDIR_NAME_AT_HOME
public static final java.lang.String DEFAULT_LIBDIR
public static final java.lang.String DEFAULT_PROPERTY_FILENAME
public static final java.lang.String DEBUG
public static final java.lang.String PRESERVE_FILES
public static final java.lang.String LIBDIR
public static final java.lang.String PROPERTY_FILE
public static final java.lang.String SUFFIX_FILE_PATH
public static final java.lang.String SUFFIX_OPTION
public static final java.lang.String TRACE
protected java.lang.String fArgumentString
コンストラクタの詳細 |
public CoinsOptions(java.lang.String argumentString)
argumentString
- an argument string.メソッドの詳細 |
public void readPropertyFile(Warning pWarning)
pWarning
- warning message controler.public boolean isSet(java.lang.String pOption)
pOption
- the option string (left side of a delimiting equal sign).
public java.lang.String getArg(java.lang.String pOption)
pOption
- the option string (left side of a delimitin equal sign).
public void set(java.lang.String pOption)
pOption
- an option to be set.public void set(java.lang.String pOption, java.lang.String pArg)
pOption
- an option to be set.pArg
- an argument of the option.public java.io.File getLibDir()
public java.lang.String toString()
java.lang.Object
内の toString
public java.util.Map parseArgument(java.lang.String pArgument, char pCategoryDelimiter, char pValueDelimiter)
pArgument
- is a character string showing options.
public java.util.Set getOptionKeys()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |