All Packages Class Hierarchy This Package Previous Next Index
Class ccl.util.IniFile
java.lang.Object
|
+----ccl.util.IniFile
- public class IniFile
- extends Object
This class is copyrighted by 1996 Besiex Software (Benjarmin Cabell)
and distributed under the terms of the Gnu Library General Public License.
This class reads Windows like .ini files and can set values
as well. The standard Java way is to use property files
instead, but if you have legacy code which uses ini files or
if you want to access for example a kde .kderc configuration
file, then this class is for you.
- Version:
- $Id: IniFile.java,v 1.15 2000/04/05 16:56:47 clemens Exp clemens $
- Author:
- Benjamin Cabell
-
_status
-
-
FILE_ERROR
-
-
KEY_ERROR
-
-
OK
-
-
SECTION_ERROR
-
-
IniFile()
-
-
_getKeyValue(String, String)
-
-
_getSection(String, String)
-
-
getKeyValue(String, String, String)
-
-
getKeyValue(String, String, String, String)
-
-
getStatus()
-
-
setKeyValue(String, String, String, String)
-
OK
public static final int OK
FILE_ERROR
public static final int FILE_ERROR
SECTION_ERROR
public static final int SECTION_ERROR
KEY_ERROR
public static final int KEY_ERROR
_status
private static int _status
IniFile
public IniFile()
_getSection
private static String _getSection(String sSectionName_,
String sIniFileContent_)
_getKeyValue
private static String _getKeyValue(String sKey_,
String sSectionContent_)
getKeyValue
public static String getKeyValue(String sIniFullFileName_,
String sSectionName_,
String sKey_)
getKeyValue
public static String getKeyValue(String sIniFullFileName_,
String sSectionName_,
String sKey_,
String sIniFileContent_)
getStatus
public static int getStatus()
setKeyValue
public static void setKeyValue(String sIniFileName_,
String sSection_,
String sKey_,
String sValue_)
All Packages Class Hierarchy This Package Previous Next Index