|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttotalcross.util.Hashtable
com.tekann.codegen.pda.util.Properties
public class Properties
This class represents Java property file.
| Field Summary |
|---|
| Fields inherited from class totalcross.util.Hashtable |
|---|
allowDuplicateKeys, collisions |
| Constructor Summary | |
|---|---|
Properties()
Default constructor |
|
Properties(int initialCapacity)
Constructs a Properties |
|
| Method Summary | |
|---|---|
java.lang.Object |
get(java.lang.String key)
|
void |
load(byte[] content)
Loads the properties through a File. |
void |
load(java.lang.String res)
|
java.lang.String |
put(java.lang.String key,
java.lang.String value)
Puts an item |
byte[] |
save()
Transform the properties in a pair like key=value. |
| Methods inherited from class totalcross.util.Hashtable |
|---|
clear, copyInto, dumpKeysValues, exists, get, get, get, get, getKeys, getKeyValuePairs, getString, getString, getValues, put, put, remove, remove, size |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Properties()
public Properties(int initialCapacity)
initialCapacity - | Method Detail |
|---|
public java.lang.Object get(java.lang.String key)
public void load(byte[] content)
content - The File content.public void load(java.lang.String res)
public java.lang.String put(java.lang.String key,
java.lang.String value)
key - value -
public byte[] save()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||