class FileUtil {

    public static boolean isDirExists( final String dirAbsPath )
    {

        // check that directory name is not null or blank.
        if ( StringUtils.isBlank( dirAbsPath ) )
        {
            logger.warn( "In isDirExists, directory name is either null or blank." );
            return false;
        }
        File file = new File( dirAbsPath );
        if ( file.exists() && file.isDirectory() )
        {
            return true;
        }
        return false;
    }

    private  FileUtil();

}