public final class FileAssociations
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENABLED_PROPERTY
Deprecated.
no replacement
|
Constructor and Description |
---|
FileAssociations() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getExePathName()
Deprecated.
no replacement
|
static boolean |
isAssociated(java.lang.String ext)
Given an extension, determines whether the extension is associated with
the specified product.
|
static void |
setAssociated(java.lang.String ext,
boolean associated)
Given an extension and an association flag, sets or removes the
corresponding file association from the Registry.
|
static void |
setAssociations(java.util.Map<java.lang.String,java.lang.Boolean> associations) |
@Deprecated public static final java.lang.String ENABLED_PROPERTY
public static boolean isAssociated(java.lang.String ext)
ext
- specifies the extension (i.e. ".java") to be associatedpublic static void setAssociated(java.lang.String ext, boolean associated)
ext
- specifies the extension (i.e. ".java" or ".jpr")associated
- true to associate the extension, false to remove the
associationpublic static void setAssociations(java.util.Map<java.lang.String,java.lang.Boolean> associations)
@Deprecated public static java.lang.String getExePathName()