public class FileAssociation
extends org.apache.tools.ant.types.DataType
implements org.apache.tools.ant.DynamicAttribute
| Constructor and Description |
|---|
FileAssociation() |
| Modifier and Type | Method and Description |
|---|---|
DeployFXTask.BundleArgument |
createArg()
Extra arguments that the bundler may interpret to provide for better
integration with specific operating systems.
|
DeployFXTask.BundleArgument |
createBundleArgument() |
Map<String,? super Object> |
createLauncherMap() |
void |
putUnlessNull(Map<String,? super Object> params,
String param,
Object value) |
void |
putUnlessNullOrEmpty(Map<String,? super Object> params,
String param,
Collection value) |
void |
putUnlessNullOrEmpty(Map<String,? super Object> params,
String param,
Map value) |
void |
setDescription(String description)
The description the Operation System may show for files of the associated extension and mime-type.
|
void |
setDynamicAttribute(String name,
String value) |
void |
setExtension(String extension)
The file extension or extensions (separated by spaces) that the application requests it be registered to handle
|
void |
setIcon(File icon)
The icon the Operation System may show for files of the associated extension and mime-type.
|
void |
setMimeType(String mimeType)
The mime-type that the application requests it be registered to handle.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringpublic DeployFXTask.BundleArgument createBundleArgument()
public void setDynamicAttribute(String name, String value) throws org.apache.tools.ant.BuildException
setDynamicAttribute in interface org.apache.tools.ant.DynamicAttributeorg.apache.tools.ant.BuildExceptionpublic void putUnlessNull(Map<String,? super Object> params, String param, Object value)
public void putUnlessNullOrEmpty(Map<String,? super Object> params, String param, Collection value)
public void putUnlessNullOrEmpty(Map<String,? super Object> params, String param, Map value)
public void setExtension(String extension)
public void setMimeType(String mimeType)
public void setDescription(String description)
setDescription in class org.apache.tools.ant.ProjectComponentpublic void setIcon(File icon)
public DeployFXTask.BundleArgument createArg()
Copyright © 2025. All rights reserved.