Alternatives to deleteOnExit
<p>I want to delete some files after a certain a time say once every day.Is using deleteOnExit() for this a good option ? Any other suggestions ?</p>

<p>I have some flash content which render its state by reading from some xml files stored inside web server root.These xmls are created on the fly.Now I want to delete these files.It would be better if I can manage this using java</p>
