Extension SDK

oracle.jdeveloper.cm
Class PropertiesConnectionStore

java.lang.Object
  |
  +--oracle.jdeveloper.cm.PropertiesConnectionStore
All Implemented Interfaces:
ConnectionStore, WritableConnectionStore

public final class PropertiesConnectionStore
extends java.lang.Object
implements WritableConnectionStore

ConnectionStore for (3.2.3 properties file format)


Constructor Summary
PropertiesConnectionStore()
          Constructor
PropertiesConnectionStore(java.lang.String fName, boolean isAbsolutePath)
          Constructor
 
Method Summary
 java.util.List read()
          Read all of the descriptors from storage.
 void write(java.lang.String outputFile, java.util.List descriptors, boolean stripPasswords)
          Writes the list of descriptors to storage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesConnectionStore

public PropertiesConnectionStore()
Constructor

PropertiesConnectionStore

public PropertiesConnectionStore(java.lang.String fName,
                                 boolean isAbsolutePath)
Constructor
Parameters:
pathname - of the file to read the connection data from
isAbsolutePath - true if this is an filesystem level absolutepath, false if this is a class relative filename
Method Detail

write

public final void write(java.lang.String outputFile,
                        java.util.List descriptors,
                        boolean stripPasswords)
                 throws CMException
Writes the list of descriptors to storage.
Specified by:
write in interface WritableConnectionStore
Parameters:
outputFile - the file which will get the data,
descriptors - the descriptors to save
stripPasswords - should the passwords be removed before writing.

read

public final java.util.List read()
Read all of the descriptors from storage.
Specified by:
read in interface ConnectionStore

Extension SDK