com.etasoft.trans.io
Class axPropertiesFile
java.lang.Object
java.util.AbstractMap
java.util.HashMap
com.etasoft.trans.io.axPropertiesFile
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class axPropertiesFile
- extends java.util.HashMap
Property file implementation
- See Also:
- Serialized Form
Method Summary |
int |
getInt(java.lang.String key)
|
java.lang.Integer |
getInteger(java.lang.String key)
|
java.lang.String |
getString(java.lang.String key)
|
void |
put(java.lang.String key,
int value)
|
void |
put(java.lang.String key,
java.lang.Integer value)
|
void |
read(java.lang.String strFileName)
read properties file |
void |
write(java.lang.String strFileName)
write properties file |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
axPropertiesFile
public axPropertiesFile()
read
public void read(java.lang.String strFileName)
throws java.io.IOException,
java.io.FileNotFoundException
- read properties file
- Throws:
java.io.IOException
java.io.FileNotFoundException
write
public void write(java.lang.String strFileName)
throws java.io.IOException
- write properties file
- Throws:
java.io.IOException
getString
public java.lang.String getString(java.lang.String key)
put
public void put(java.lang.String key,
int value)
getInt
public int getInt(java.lang.String key)
put
public void put(java.lang.String key,
java.lang.Integer value)
getInteger
public java.lang.Integer getInteger(java.lang.String key)