X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.utils%2Fsrc%2Forg%2Fsimantics%2Futils%2FTempFiles.java;h=e814a11fac663a59c14fd1231991879afbdc67ec;hb=refs%2Fchanges%2F30%2F3930%2F1;hp=0194ee9a8cbb9a6ee889a111878d263d167719a7;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git
diff --git a/bundles/org.simantics.utils/src/org/simantics/utils/TempFiles.java b/bundles/org.simantics.utils/src/org/simantics/utils/TempFiles.java
index 0194ee9a8..e814a11fa 100644
--- a/bundles/org.simantics.utils/src/org/simantics/utils/TempFiles.java
+++ b/bundles/org.simantics.utils/src/org/simantics/utils/TempFiles.java
@@ -1,36 +1,36 @@
-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
- * suffix
and is contained by a directory under
- * {@link #getRoot()} with the name directory
- */
- 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);
-
-}
+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
+ * suffix
and is contained by a directory under
+ * {@link #getRoot()} with the name directory
+ */
+ 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);
+
+}