- java.lang.Object
-
- com.sun.javafx.tools.packager.CommonParams
-
- com.sun.javafx.tools.packager.CreateJarParams
-
public class CreateJarParams extends CommonParams
-
-
Constructor Summary
Constructors Constructor Description CreateJarParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addResource(File baseDir, File file)
void
addResource(File baseDir, String path)
void
setAllPermissions(Boolean allPermissions)
void
setApplicationClass(String applicationClass)
void
setArguments(List<String> args)
void
setClasspath(String classpath)
void
setCodebase(String codebase)
void
setCss2bin(boolean css2bin)
void
setEmbedLauncher(boolean embedLauncher)
Deprecated.void
setFallback(String fallback)
void
setFxVersion(String fxVersion)
void
setManifestAttrs(Map<String,String> manifestAttrs)
void
setOutfile(String outfile)
void
setParams(List<Param> params)
void
setPreloader(String preloader)
String
toString()
Returns a string representation of the object.void
validate()
-
Methods inherited from class com.sun.javafx.tools.packager.CommonParams
setOutdir, setVerbose
-
-
-
-
Method Detail
-
setApplicationClass
public void setApplicationClass(String applicationClass)
-
setPreloader
public void setPreloader(String preloader)
-
setFallback
public void setFallback(String fallback)
-
setClasspath
public void setClasspath(String classpath)
-
setCss2bin
public void setCss2bin(boolean css2bin)
-
setEmbedLauncher
public void setEmbedLauncher(boolean embedLauncher)
Deprecated.In JKD8/FX8 launcher is never embedded, app must use main to call Application launcher()- Parameters:
embedLauncher
-
-
setOutfile
public void setOutfile(String outfile)
-
setFxVersion
public void setFxVersion(String fxVersion)
-
setAllPermissions
public void setAllPermissions(Boolean allPermissions)
-
setCodebase
public void setCodebase(String codebase)
-
addResource
public void addResource(File baseDir, String path)
- Specified by:
addResource
in classCommonParams
-
addResource
public void addResource(File baseDir, File file)
- Specified by:
addResource
in classCommonParams
-
toString
public String toString()
Description copied from class:Object
Returns a string representation of the object. In general, thetoString
method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.The
toString
method for classObject
returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@
', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:getClass().getName() + '@' + Integer.toHexString(hashCode())
- Overrides:
toString
in classCommonParams
- Returns:
- a string representation of the object.
-
validate
public void validate() throws PackagerException
- Specified by:
validate
in classCommonParams
- Throws:
PackagerException
-
-