private boolean checkIfDir ( final String propName , final String path ) { if ( null == path || path . equals ( "" ) ) { throw new IllegalArgumentException ( propName + "property had null or empty value" ) ; } return new File ( path ) . exists ( ) ; }
check if path exists as a directory