code: public void setCacheFolder(File cacheFolder) throws CacheCreationException {
          if (cacheFolder == null) {
              cacheFolder = new File(getApplication().getCacheDir(), DEFAULT_ROOT_CACHE_DIR);
          }
          synchronized (cacheFolder.getAbsolutePath().intern()) {
              if (!cacheFolder.exists() && !cacheFolder.mkdirs()) {
                  throw new CacheCreationException("The cache folder " + cacheFolder.getAbsolutePath() + " could not be created.");
              }
          }
          this.cacheFolder = cacheFolder;
      }
docs: Set the cacheFolder to use.
  @param cacheFolder
  the new cache folder to use. Can be null, will then default to
  {@link #DEFAULT_ROOT_CACHE_DIR} sub folder in the application
  cache dir.
  @throws CacheCreationException
  if the cache folder doesn't exist or can't be created.