Файлы временного файла Java и автоматизированное удаление

Благодаря zechariah.

Что относительно:

dconf reset -f /org/gnome/gnome-panel/layout/

Это избавилось от 3 из моих четырех панелей.

7
задан cweston 30 August 2009 в 17:56
поделиться

2 ответа

Unless you call the deleteOnExit() method on the file object, it will remain after the application terminates.

It is best however to create the file on your directory and not in the default directory (usually /tmp) which may be erased by the OS.

4
ответ дан 7 December 2019 в 14:36
поделиться

Take a look at this article on when OSX cleansup the temporary file folders:

http://www.xvsxp.com/system/system_tools_cleanup.php

I wouldn't rely on the temporary file folder as a permanent place to store files...

0
ответ дан 7 December 2019 в 14:36
поделиться
Другие вопросы по тегам:

Похожие вопросы: