/[classpath]/classpath/java/io/File.java
ViewVC logotype

Diff of /classpath/java/io/File.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by mark, Tue Jan 22 22:26:59 2002 UTC revision 1.16 by mark, Mon Mar 4 21:48:43 2002 UTC
# Line 123  private String path; Line 123  private String path;
123    * files created are guaranteed not to currently exist and the same file name    * files created are guaranteed not to currently exist and the same file name
124    * will never be used twice in the same virtual machine instance.  The    * will never be used twice in the same virtual machine instance.  The
125    * system temporary directory is determined by examinging the    * system temporary directory is determined by examinging the
126    * <code>java.tmpdir</code> system property.    * <code>java.io.tmpdir</code> system property.
127    * <p>    * <p>
128    * The <code>prefix</code> parameter is a sequence of at least three    * The <code>prefix</code> parameter is a sequence of at least three
129    * characters that are used as the start of the generated filename.  The    * characters that are used as the start of the generated filename.  The
# Line 160  createTempFile(String prefix, String suf Line 160  createTempFile(String prefix, String suf
160    * directory. The files created are guaranteed not to currently exist and the    * directory. The files created are guaranteed not to currently exist and the
161    * same file name will never be used twice in the same virtual machine instance.      * same file name will never be used twice in the same virtual machine instance.  
162    * The system temporary directory is determined by examinging the    * The system temporary directory is determined by examinging the
163    * <code>java.tmpdir</code> system property.    * <code>java.io.tmpdir</code> system property.
164    * <p>    * <p>
165    * The <code>prefix</code> parameter is a sequence of at least three    * The <code>prefix</code> parameter is a sequence of at least three
166    * characters that are used as the start of the generated filename.  The    * characters that are used as the start of the generated filename.  The
# Line 186  createTempFile(String prefix, String suf Line 186  createTempFile(String prefix, String suf
186    // Grab the system temp directory if necessary    // Grab the system temp directory if necessary
187    if (directory == null)    if (directory == null)
188      {      {
189        String dirname = System.getProperty("java.tmpdir");        String dirname = System.getProperty("java.io.tmpdir");
190        if (dirname == null)        if (dirname == null)
191          throw new IOException("Cannot determine system temporary directory");          throw new IOException("Cannot determine system temporary directory");
192    

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26