/** * Create a temp file in the specified directory (if not null). * The file will be deleted when the JVM exits. */ public TempFile(File dir) throws IOException { file = File.createTempFile("pop3.", ".mbox", dir); // XXX - need JDK 6 to set permissions on the file to owner-only file.deleteOnExit(); sf = new WritableSharedFile(file); }
/** * Create a temp file in the specified directory (if not null). * The file will be deleted when the JVM exits. */ public TempFile(File dir) throws IOException { file = File.createTempFile("pop3.", ".mbox", dir); // XXX - need JDK 6 to set permissions on the file to owner-only file.deleteOnExit(); sf = new WritableSharedFile(file); }
/** * Create a temp file in the specified directory (if not null). * The file will be deleted when the JVM exits. */ public TempFile(File dir) throws IOException { file = File.createTempFile("pop3.", ".mbox", dir); // XXX - need JDK 6 to set permissions on the file to owner-only file.deleteOnExit(); sf = new WritableSharedFile(file); }
/** * Create a temp file in the specified directory (if not null). * The file will be deleted when the JVM exits. */ public TempFile(File dir) throws IOException { file = File.createTempFile("pop3.", ".mbox", dir); // XXX - need JDK 6 to set permissions on the file to owner-only file.deleteOnExit(); sf = new WritableSharedFile(file); }
/** * Create a temp file in the specified directory (if not null). * The file will be deleted when the JVM exits. */ public TempFile(File dir) throws IOException { file = File.createTempFile("pop3.", ".mbox", dir); // XXX - need JDK 6 to set permissions on the file to owner-only file.deleteOnExit(); sf = new WritableSharedFile(file); }
/** * Create a temp file in the specified directory (if not null). * The file will be deleted when the JVM exits. */ public TempFile(File dir) throws IOException { file = File.createTempFile("pop3.", ".mbox", dir); // XXX - need JDK 6 to set permissions on the file to owner-only file.deleteOnExit(); sf = new WritableSharedFile(file); }
/** * Create a temp file in the specified directory (if not null). * The file will be deleted when the JVM exits. */ public TempFile(File dir) throws IOException { file = File.createTempFile("pop3.", ".mbox", dir); // XXX - need JDK 6 to set permissions on the file to owner-only file.deleteOnExit(); sf = new WritableSharedFile(file); }
/** * Create a temp file in the specified directory (if not null). * The file will be deleted when the JVM exits. */ public TempFile(File dir) throws IOException { file = File.createTempFile("pop3.", ".mbox", dir); // XXX - need JDK 6 to set permissions on the file to owner-only file.deleteOnExit(); sf = new WritableSharedFile(file); }