public class ConnectionsInfo
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
containsPasswords()
Tests whether the xml file contains any encrypted passwords.
|
static ConnectionsInfo |
getConnectionsInfo(java.net.URL url)
Parses the given URL, expecting it to be a CA connections.xml, and collects information about the passwords stored.
|
java.net.URL |
getURL()
Get the file URL being described.
|
boolean |
isLegacyCMFormat()
Tests whether the xml format of the file is the legacy CM format used in JDeveloper < 11 and SQLDeveloper < 1.5.
|
boolean |
requiresPassphrase()
Tests whether any connections in the xml file will need a passphrase to decrypt their passwords, should they have any saved.
|
public java.net.URL getURL()
public boolean containsPasswords()
public boolean requiresPassphrase()
containsPasswords()
.public boolean isLegacyCMFormat()
public static ConnectionsInfo getConnectionsInfo(java.net.URL url) throws ConnectionException
url
- the URL to parseConnectionException
- if the xml cannot be parsed