question: public static String dbf ( String shpFileName ) { String ret = null ; if ( shpFileName != null ) { ret = shpFileName . substring ( 0 , shpFileName . indexOf ( ".shp" ) ) + ".dbf" ; } return ret ; }
target:  Figures out the dbf file name from the shp file name.