Class TemporaryDirectoryUtils

java.lang.Object
org.frankframework.util.TemporaryDirectoryUtils

public class TemporaryDirectoryUtils extends Object
  • Method Details

    • getTempDirectory

      @Nonnull public static Path getTempDirectory()
      If the ${ibis.tmpdir} is relative it will turn it into an absolute path.
      Returns:
      The absolute path of ${ibis.tmpdir} or IllegalStateException if it cannot be resolved.
    • getTempDirectory

      public static Path getTempDirectory(String folder) throws IOException
      Returns:
      the ${ibis.tmpdir}/folder or IOException if it cannot be resolved. If the ${ibis.tmpdir} is relative it will turn it into an absolute path
      Throws:
      IOException