1 11 package org.eclipse.jdt.launching; 12 13 14 import org.eclipse.debug.core.DebugPlugin; 15 16 25 public class ExecutionArguments { 26 private String fVMArgs; 27 private String fProgramArgs; 28 29 35 public ExecutionArguments(String vmArgs, String programArgs) { 36 if (vmArgs == null || programArgs == null) 37 throw new IllegalArgumentException (); 38 fVMArgs= vmArgs; 39 fProgramArgs= programArgs; 40 } 41 42 47 public String getVMArguments() { 48 return fVMArgs; 49 } 50 51 56 public String getProgramArguments() { 57 return fProgramArgs; 58 } 59 60 65 public String [] getVMArgumentsArray() { 66 return DebugPlugin.parseArguments(fVMArgs); 67 } 68 69 74 public String [] getProgramArgumentsArray() { 75 return DebugPlugin.parseArguments(fProgramArgs); 76 } 77 78 } 79 | Popular Tags |