code: public File getDataDirectory() throws IOException {
          final File path = getDataFile(Settings.KEYS.DATA_DIRECTORY);
          if (path != null && (path.exists() || path.mkdirs())) {
              return path;
          }
          throw new IOException(String.format("Unable to create the data directory '%s'",
                  (path == null) ? "unknown" : path.getAbsolutePath()));
      }
docs: Retrieves the primary data directory that is used for caching web
  content.
  
  @return the data directory to store data files
  @throws java.io.IOException is thrown if an java.io.IOException occurs of
  course...