< prev index next >

src/jdk.incubator.jpackage/share/classes/jdk/incubator/jpackage/internal/Bundler.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -23,11 +23,11 @@
  * questions.
  */
 
 package jdk.incubator.jpackage.internal;
 
-import java.io.File;
+import java.nio.file.Path;
 import java.util.Map;
 
 /**
  * Bundler
  *

@@ -102,12 +102,12 @@
      *      <li>Bundler specific incompatibilities with the parameters, for
      *      example a bad version number format or an application id with
      *      forward slashes.</li>
      *  </ul>
      */
-    public File execute(Map<String, ? super Object> params,
-            File outputParentDir) throws PackagerException;
+    public Path execute(Map<String, ? super Object> params,
+            Path outputParentDir) throws PackagerException;
 
      /**
      * Removes temporary files that are used for bundling.
      */
     public void cleanup(Map<String, ? super Object> params);
< prev index next >