public Integer getIntegerProperty ( String pstrSection , String pstrProp ) { Integer intRet = null ; String strVal = null ; INIProperty objProp = null ; INISection objSec = null ; objSec = ( INISection ) this . mhmapSections . get ( pstrSection ) ; if ( objSec != null ) { objProp = objSec . getProperty ( pstrProp ) ; try { if ( objProp != null ) { strVal = objProp . getPropValue ( ) ; if ( strVal != null ) intRet = new Integer ( strVal ) ; } } catch ( NumberFormatException NFExIgnore ) { } finally { if ( objProp != null ) objProp = null ; } objSec = null ; } return intRet ; }
Returns the specified integer property from the specified section .