private String getValueFromProp ( final String propValue ) { String value = propValue ; // remove quotes value = value . trim ( ) ; if ( ( value . startsWith ( "\"" ) && value . endsWith ( "\"" ) ) || ( value . startsWith ( "'" ) && value . endsWith ( "'" ) ) ) { value = value . substring ( 1 , value . length ( ) - 1 ) ; } return value ; }
Helper to read a line from the config file .