modules/jdk.packager/src/main/java/com/sun/javafx/tools/packager/bundlers/BundleParams.java

Print this page




  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.javafx.tools.packager.bundlers;
  27 
  28 import com.oracle.tools.packager.*;
  29 import com.sun.javafx.tools.packager.bundlers.Bundler.BundleType;
  30 
  31 import java.io.File;
  32 import java.io.IOException;
  33 import java.util.*;
  34 import java.util.jar.Attributes;
  35 import java.util.jar.JarFile;
  36 import java.util.jar.Manifest;
  37 
  38 import static com.oracle.tools.packager.StandardBundlerParam.*;
  39 
  40 import jdk.packager.internal.legacy.JLinkBundlerHelper;
  41 
  42 



  43 public class BundleParams {
  44 
  45     final protected Map<String, ? super Object> params;
  46 
  47     public static final String PARAM_RUNTIME                = "runtime"; // RelativeFileSet
  48     public static final String PARAM_APP_RESOURCES          = "appResources"; // RelativeFileSet
  49     public static final String PARAM_TYPE                   = "type"; // BundlerType
  50     public static final String PARAM_BUNDLE_FORMAT          = "bundleFormat"; // String
  51     public static final String PARAM_ICON                   = "icon"; // String
  52 
  53     /* Name of bundle file and native launcher */
  54     public static final String PARAM_NAME                   = "name"; // String
  55 
  56     /* application vendor, used by most of the bundlers */
  57     public static final String PARAM_VENDOR                 = "vendor"; // String
  58 
  59     /* email name and email, only used for debian */
  60     public static final String PARAM_EMAIL                  = "email"; // String
  61 
  62     /* Copyright. Used on Mac */




  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.javafx.tools.packager.bundlers;
  27 
  28 import com.oracle.tools.packager.*;
  29 import com.sun.javafx.tools.packager.bundlers.Bundler.BundleType;
  30 
  31 import java.io.File;
  32 import java.io.IOException;
  33 import java.util.*;
  34 import java.util.jar.Attributes;
  35 import java.util.jar.JarFile;
  36 import java.util.jar.Manifest;
  37 
  38 import static com.oracle.tools.packager.StandardBundlerParam.*;
  39 
  40 import jdk.packager.internal.legacy.JLinkBundlerHelper;
  41 
  42 /**
  43  * @deprecated use {@link ToolProvider} to locate the {@code "javapackager"} tool instead.
  44  */
  45 @Deprecated(since="10", forRemoval=true)
  46 public class BundleParams {
  47 
  48     final protected Map<String, ? super Object> params;
  49 
  50     public static final String PARAM_RUNTIME                = "runtime"; // RelativeFileSet
  51     public static final String PARAM_APP_RESOURCES          = "appResources"; // RelativeFileSet
  52     public static final String PARAM_TYPE                   = "type"; // BundlerType
  53     public static final String PARAM_BUNDLE_FORMAT          = "bundleFormat"; // String
  54     public static final String PARAM_ICON                   = "icon"; // String
  55 
  56     /* Name of bundle file and native launcher */
  57     public static final String PARAM_NAME                   = "name"; // String
  58 
  59     /* application vendor, used by most of the bundlers */
  60     public static final String PARAM_VENDOR                 = "vendor"; // String
  61 
  62     /* email name and email, only used for debian */
  63     public static final String PARAM_EMAIL                  = "email"; // String
  64 
  65     /* Copyright. Used on Mac */