Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.ide.config
Class FileAssociations

java.lang.Object
  extended by oracle.ide.config.FileAssociations

public final class FileAssociations
extends java.lang.Object

Accessor methods for setting file associations in the Windows Registry.


Field Summary
static java.lang.String ENABLED_PROPERTY
          Deprecated. no replacement
 
Constructor Summary
FileAssociations()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENABLED_PROPERTY

@Deprecated
public static final java.lang.String ENABLED_PROPERTY
Deprecated. no replacement
The name of the property which, if defined, indicates that file associations are enabled.

See Also:
Constant Field Values
Constructor Detail

FileAssociations

public FileAssociations()
Method Detail

isAssociated

public static boolean isAssociated(java.lang.String ext)
Given an extension, determines whether the extension is associated with the specified product.

Parameters:
ext - specifies the extension (i.e. ".java") to be associated
Returns:
true if associated, false otherwise

setAssociated

public 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.

Parameters:
ext - specifies the extension (i.e. ".java" or ".jpr")
associated - true to associate the extension, false to remove the association

setAssociations

public static void setAssociations(java.util.Map<java.lang.String,java.lang.Boolean> associations)

getExePathName

@Deprecated
public static java.lang.String getExePathName()
Deprecated. no replacement

Returns:
the executable full pathname of the startup exe

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.