- FileOutputStream out = null;
- try {
- out = new FileOutputStream(new File(tmpConfig,
- "config.properties"));
- Properties props = new Properties();
- props.setProperty("CACHE_DIR", localCache.getAbsolutePath());
- props.store(out, null);
- } finally {
- if (out != null) {
- out.close();
- }
- }
-