implemented enough of the stack/session logic to make stateless requests and receive...
[OpenSRF.git] / src / java / org / opensrf / util / Config.java
index 6f430c4..388afc7 100644 (file)
@@ -56,6 +56,10 @@ public class Config {
         }
     }
 
+    public static int getInt(String path) throws ConfigException {
+        return Integer.parseInt(getString(path));
+    }
+
     /**
      * Returns the configuration object found at the requested path.
      * @see org.opensrf.util.Utils.findPath for path description.