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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -