]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.utils/src/org/simantics/utils/TempFiles.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.utils / src / org / simantics / utils / TempFiles.java
index 0194ee9a8cbb9a6ee889a111878d263d167719a7..e814a11fac663a59c14fd1231991879afbdc67ec 100644 (file)
@@ -1,36 +1,36 @@
-package org.simantics.utils;\r
-\r
-import java.io.File;\r
-\r
-public interface TempFiles {\r
-\r
-    /**\r
-     * @return the directory containing all temporary file names generated by\r
-     *         this instance.\r
-     */\r
-    public File getRoot();\r
-\r
-    /**\r
-     * @param directory\r
-     *            possible directory under {@link #getRoot()}\r
-     * @param suffix\r
-     *            suffix of generated temporary file name without the '.'\r
-     *            character separating the random start and the extension\r
-     *            (suffix)\r
-     * @return temporary file with a random name that ends in\r
-     *         <code>suffix</code> and is contained by a directory under\r
-     *         {@link #getRoot()} with the name <code>directory</code>\r
-     */\r
-    public File getTempfile(String directory, String suffix);\r
-\r
-    /**\r
-     * Create a new TempFiles instance that will produce temporary file names in\r
-     * a specified subdirectory of this TempFiles location.\r
-     * \r
-     * @param directory\r
-     * @return the sub-TempFiles instance\r
-     * @since 1.16\r
-     */\r
-    public TempFiles subdirectory(String directory);\r
-\r
-}\r
+package org.simantics.utils;
+
+import java.io.File;
+
+public interface TempFiles {
+
+    /**
+     * @return the directory containing all temporary file names generated by
+     *         this instance.
+     */
+    public File getRoot();
+
+    /**
+     * @param directory
+     *            possible directory under {@link #getRoot()}
+     * @param suffix
+     *            suffix of generated temporary file name without the '.'
+     *            character separating the random start and the extension
+     *            (suffix)
+     * @return temporary file with a random name that ends in
+     *         <code>suffix</code> and is contained by a directory under
+     *         {@link #getRoot()} with the name <code>directory</code>
+     */
+    public File getTempfile(String directory, String suffix);
+
+    /**
+     * Create a new TempFiles instance that will produce temporary file names in
+     * a specified subdirectory of this TempFiles location.
+     * 
+     * @param directory
+     * @return the sub-TempFiles instance
+     * @since 1.16
+     */
+    public TempFiles subdirectory(String directory);
+
+}