protected void doPurge ( Runnable afterPurgeAction ) { if ( LOG . isInfoEnabled ( ) ) { LOG . info ( org . opencms . flex . Messages . get ( ) . getBundle ( ) . key ( org . opencms . flex . Messages . LOG_FLEXCACHE_WILL_PURGE_JSP_REPOSITORY_0 ) ) ; } File d ; d = new File ( getJspRepository ( ) + CmsFlexCache . REPOSITORY_ONLINE + File . separator ) ; CmsFileUtil . purgeDirectory ( d ) ; d = new File ( getJspRepository ( ) + CmsFlexCache . REPOSITORY_OFFLINE + File . separator ) ; CmsFileUtil . purgeDirectory ( d ) ; if ( afterPurgeAction != null ) { afterPurgeAction . run ( ) ; } if ( LOG . isInfoEnabled ( ) ) { LOG . info ( org . opencms . flex . Messages . get ( ) . getBundle ( ) . key ( org . opencms . flex . Messages . LOG_FLEXCACHE_PURGED_JSP_REPOSITORY_0 ) ) ; } }
Purges the JSP repository . <p<