Re: [netcdf-java] netCDF file deletion

Hi John,

yes, I was unclear: I was asking if something like java.io.File.delete() is 
available in the netCDF Java API...
I understand it isn't?
Then I guess one should keep/retrieve a handler to the file, for deleting it.
  L


Il giorno 13/apr/2012, alle ore 17:31, John Caron ha scritto:

> On 4/13/2012 8:12 AM, Lorenzo Bigagli wrote:
>> Dear all,
>> 
>> I am creating a temporary netCDF file by means of the netCDF Java API, to 
>> use it during some intermediate processing.
>> How can I delete it, afterwards?
>> 
>> Is there something like the java.io.delete() method, or any plan to 
>> implement such a mechanism?
>> 
>> Best regards,
>>   LB
>> 
>> ---
>> Dott. Lorenzo Bigagli
>> Consiglio Nazionale delle Ricerche
>> Istituto di Metodologie per l'Analisi Ambientale (CNR-IMAA)
>> 
>> i: Area della Ricerca di Potenza, Contrada Santa Loja
>>    Zona Industriale, 85050 Tito Scalo (PZ), Italia
>> t: +39 0971 427221
>> f: +39 0971 427222
>> m: lorenzo.bigagli@xxxxxx
>> 
>> _______________________________________________
>> netcdf-java mailing list
>> netcdf-java@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe, visit: 
>> http://www.unidata.ucar.edu/mailing_lists/
> Hi Lorenzo :
> 
> have a look at java.io.File.delete and java.io.File.createTempFile
> 
> John
> 
> _______________________________________________
> netcdf-java mailing list
> netcdf-java@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit: 
> http://www.unidata.ucar.edu/mailing_lists/ 



  • 2012 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: