package com.za.session.conf; import java.util.Properties; public class ServerProperty { private String _debugLevel = null; private int _iDebugLevel = 1; public ServerProperty() { } public void load(Properties p) { this._debugLevel = p.getProperty("debugLevel"); if (this._debugLevel != null) { this._iDebugLevel = Integer.parseInt(this._debugLevel); } } public void save(Properties p) { if (this._debugLevel != null) p.setProperty("debugLevel", this._debugLevel); } public int get_debugLevel() { return _iDebugLevel; } public void set_debugLevel(String _debugLevel) { this._debugLevel = _debugLevel; } }