|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ecash.kernel.Const
This class loads some parameters from a properties file, and make them available through corresponding static fields.
Field Summary | |
static java.lang.String |
DIR
Directory used to store the file representation of some objects. |
static int |
KEY_SIZE
The size of the key (modulus) used by the bank to sign notes. |
static int |
NB_ENVELOPE
The number of envelopes that are sent to the bank for each note. |
static int |
NB_RIS
The number of RIS pairs. |
static java.lang.String |
REGEXP
The regular expression that defines a notes expression. |
Method Summary | |
static void |
load(java.lang.String filenamePart)
Loads the values from the specified filename. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String DIR
Tools.readFile(java.lang.String)
,
Tools.writeFile(java.lang.String, java.lang.String)
public static int KEY_SIZE
public static int NB_ENVELOPE
public static int NB_RIS
public static java.lang.String REGEXP
Method Detail |
public static void load(java.lang.String filenamePart)
filenamePart
- the filename without extension
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |