poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Beeker <kiwiwi...@apache.org>
Subject Re: Exception
Date Sun, 26 May 2019 20:23:20 GMT
Hi Glenn,

your mail looks auto-corrected, but I guess you want to know, how to configure the TempFile

Option 1:
Configure the Java tmpdir when calling your program:
-Djava.io.tmpdir=<path to your temp directory>

Specify -Dpoi.keep.tmp.files=<anything> to suppress the deletion of the tempfile, i.e.
the default is to remove temporary files.

Option 2:
Provide a custom TempFileStrategy.
Have a look at:
The strategy can be set via TempFile.setTempFileCreationStrategy()


View raw message