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)
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 |
PropertiesConnectionStore
public PropertiesConnectionStore()
- Constructor
PropertiesConnectionStore
public PropertiesConnectionStore(java.lang.String fName,
boolean isAbsolutePath)
- Constructor
- Parameters:
pathname
- of the file to read the connection data fromisAbsolutePath
- true if this is an filesystem level absolutepath,
false if this is a class relative filename
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 savestripPasswords
- 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