Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating Temp Files  RSS feed

 
Mouza Ali
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to this great forum,

I would like to create XML files and make them as a temp files, I know that I should use:



1. But I want to know for how long they will exist under the directory?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The javadocs of that method talk about this; see the paragraph mentioning "deleteOnExit".
 
Rob Spoor
Sheriff
Posts: 21092
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to I/O.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!