stevel 2003/10/23 22:44:03
Modified: src/main/org/apache/tools/ant/util FileUtils.java
Log:
comment
Revision Changes Path
1.58 +7 -4 ant/src/main/org/apache/tools/ant/util/FileUtils.java
Index: FileUtils.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/FileUtils.java,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- FileUtils.java 25 Sep 2003 12:36:19 -0000 1.57
+++ FileUtils.java 24 Oct 2003 05:44:02 -0000 1.58
@@ -1004,16 +1004,19 @@
* <p>The file denoted by the returned abstract pathname did not
* exist before this method was invoked, any subsequent invocation
* of this method will yield a different file name.</p>
- *
+ * <p>
+ * The filename is prefixNNNNNsuffix where NNNN is a random number
+ * </p>
* <p>This method is different to File.createTempFile of JDK 1.2
* as it doesn't create the file itself.
* It uses the location pointed to by java.io.tmpdir
* when the parentDir attribute is
* null.</p>
*
+ * @param prefix prefix before the random number
+ * @param suffix file extension; include the '.'
* @param parentDir Directory to create the temporary file in -
- * current working directory will be assumed if this parameter is
- * null.
+ * java.io.tmpdir used if not specificed
*
* @return a File reference to the new temporary file.
* @since ant 1.5
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]