Hi Glenn,

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

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:
https://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/util/DefaultTempFileCreationStrategy.java?view=markup
The strategy can be set via TempFile.setTempFileCreationStrategy()

Andi


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to