Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

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
          The name of the property which, if defined, indicates that file associations are enabled.
 
Constructor Summary
FileAssociations()
           
 
Method Summary
static java.lang.String getExePathName()
           
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)
           
protected static void setExtensionPath(java.lang.String ext)
           
protected static void setProxyPath()
           
static boolean shouldMigrate(java.lang.String ext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENABLED_PROPERTY

public static final java.lang.String ENABLED_PROPERTY
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

public static java.lang.String getExePathName()
Returns:
the executable full pathname of the startup exe

shouldMigrate

public static boolean shouldMigrate(java.lang.String ext)

setProxyPath

protected static void setProxyPath()

setExtensionPath

protected static void setExtensionPath(java.lang.String ext)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

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