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

Print this page




  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  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;
  27 
  28 import com.sun.javafx.tools.resource.PackagerResource;
  29 import java.io.File;
  30 import java.util.ArrayList;
  31 import java.util.List;
  32 import java.util.Map;
  33 




  34 public class CreateJarParams extends CommonParams {
  35 
  36     final List<PackagerResource> resources = new ArrayList<PackagerResource>();
  37 
  38     String applicationClass;
  39     String fallbackClass;
  40     String preloader;
  41     String classpath;
  42     Map<String, String> manifestAttrs;
  43     boolean embedLauncher = true;
  44     boolean css2bin = true;
  45     String outfile;
  46     String fxVersion = PackagerLib.JAVAFX_VERSION;
  47     Boolean allPermissions = false;
  48     String codebase;
  49 
  50     List<String> arguments;
  51     List<Param> params;
  52 
  53     public void setArguments(List<String> args) {
  54         this.arguments = args;
  55     }




  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  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;
  27 
  28 import com.sun.javafx.tools.resource.PackagerResource;
  29 import java.io.File;
  30 import java.util.ArrayList;
  31 import java.util.List;
  32 import java.util.Map;
  33 
  34 /**
  35  * @deprecated use {@link ToolProvider} to locate the {@code "javapackager"} tool instead.
  36  */
  37 @Deprecated(since="10", forRemoval=true)
  38 public class CreateJarParams extends CommonParams {

  39     final List<PackagerResource> resources = new ArrayList<PackagerResource>();
  40 
  41     String applicationClass;
  42     String fallbackClass;
  43     String preloader;
  44     String classpath;
  45     Map<String, String> manifestAttrs;
  46     boolean embedLauncher = true;
  47     boolean css2bin = true;
  48     String outfile;
  49     String fxVersion = PackagerLib.JAVAFX_VERSION;
  50     Boolean allPermissions = false;
  51     String codebase;
  52 
  53     List<String> arguments;
  54     List<Param> params;
  55 
  56     public void setArguments(List<String> args) {
  57         this.arguments = args;
  58     }