Java, IO - fastest way to remove file -


My problem is that I have an app that is writing relatively (100-500kb) small CSV files (tens And millions) The contents of those files are then loaded into the database through the SQL loader call (its Oracle DB) and I have to be with it

Therefore, I will use those small files from time to time to eat all the places Need to remove to stop. I would like to engage the activity that writes that file and loads it as the last final form in DB.

My question is - how can we remove a bunch of small files in Java with low load on display?

Thanks in advance! Michael

OK, file.delete () should be sufficient (this Internally applicable as a basic method)


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -