@Override public synchronized void clear(){
  File[] files=mRootDirectory.listFiles();
  if (files != null) {
    for (    File file : files) {
      file.delete();
    }
  }
  mEntries.clear();
  mTotalSize=0;
  VolleyLog.d("Cache cleared.");
}

@ Override public synchronized void clear ( ) { File [ ] files = mRootDirectory . listFiles ( ) ; if ( files != null ) { for ( File file : files ) { file . delete ( ) ; } } mEntries . clear ( ) ; mTotalSize = 0 ; VolleyLog . d ( "Cache cleared." ) ; }
clears the cache . deletes all cached files from disk .
