Skip to content

Commit

Permalink
try to fix temp file docs
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922787 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
pjfanning committed Dec 30, 2024
1 parent 3f4e718 commit 9951e8d
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ Licensed to the Apache Software Foundation (ASF) under one or more

/**
* Default implementation of the {@link TempFileCreationStrategy} used by {@link TempFile}:
* Files are collected into one directory and by default are deleted on exit from the VM.
* Files are collected into one directory.
* Files may be manually deleted by user prior to JVM exit.
* Files can be kept by defining the system property {@link #DELETE_FILES_ON_EXIT}.
* You can define the system property {@link #DELETE_FILES_ON_EXIT} and set to true if you want to
* delete any stray files on clean JVM exit.
*
* Each file is registered for deletion with the JVM and the temporary directory is not deleted
* after the JVM exits. Files that are created in the poifiles directory outside
* The POI code should tidy up temp files when it no longer needs them.
* The temporary directory is not deleted after the JVM exits.
* Files that are created in the poifiles directory outside
* the control of DefaultTempFileCreationStrategy are not deleted.
* See {@link TempFileCreationStrategy} for better strategies for long-running
* processes or limited temporary storage.
Expand Down

0 comments on commit 9951e8d

Please sign in to comment.