Package de.bsvrz.ars.ars.persistence
Class KeyValProps
java.lang.Object
de.bsvrz.ars.ars.persistence.KeyValProps
- Direct Known Subclasses:
ContainerHdr
,StartupProperties
Klasse zum Lesen/Schreiben von Key/Value-Paaren. Die Values haben stets feste Länge..
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Länge eines Boolschen Werts bei textueller Repraesentation mit '0' und '1'.protected static final long
protected static final long
protected static final long
protected static final long
static final int
static final int
static final int
static final int
protected static final String
Delimiter für Parameter im Container-Header.protected static final String
Textuelle Repraesentationdes boolsches Kennzeichen für 'Falsch'.protected final Properties
protected static final String
Textuelle Repraesentation des boolsches Kennzeichen für 'Wahr'. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
getValAsBool
(KeyValParam chp) getValAsInt
(KeyValParam chp) getValAsLong
(KeyValParam chp) void
setDefaultVal
(KeyValParam chp) void
setVal
(KeyValParam chp, boolean val) void
setVal
(KeyValParam chp, long val) void
setVal
(KeyValParam chp, String val)
-
Field Details
-
properties
-
BYTES4_STR_LEN
public static final int BYTES4_STR_LEN- See Also:
-
BYTES5_STR_LEN
public static final int BYTES5_STR_LEN- See Also:
-
BYTES6_STR_LEN
public static final int BYTES6_STR_LEN- See Also:
-
BYTES8_STR_LEN
public static final int BYTES8_STR_LEN- See Also:
-
BOOL_STR_LEN
public static final int BOOL_STR_LENLänge eines Boolschen Werts bei textueller Repraesentation mit '0' und '1'.- See Also:
-
BYTE4_MAXVAL
protected static final long BYTE4_MAXVAL- See Also:
-
BYTE5_MAXVAL
protected static final long BYTE5_MAXVAL- See Also:
-
BYTE6_MAXVAL
protected static final long BYTE6_MAXVAL- See Also:
-
BYTE8_MAXVAL
protected static final long BYTE8_MAXVAL- See Also:
-
TRUE
Textuelle Repraesentation des boolsches Kennzeichen für 'Wahr'.- See Also:
-
FALSE
Textuelle Repraesentationdes boolsches Kennzeichen für 'Falsch'.- See Also:
-
CH_DELIM
Delimiter für Parameter im Container-Header.- See Also:
-
-
Constructor Details
-
KeyValProps
public KeyValProps()
-
-
Method Details
-
clear
public void clear() -
setVal
- Throws:
PersistenceException
-
setVal
- Throws:
PersistenceException
-
setVal
- Throws:
PersistenceException
-
setDefaultVal
-
getValAsString
-
getValAsLong
- Throws:
PersistenceException
-
getValAsBool
- Throws:
PersistenceException
-
getValAsInt
- Throws:
PersistenceException
-