|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DTSEditorConfig
Provides access to various DTS Editor configuration settings.
Field Summary | |
---|---|
static int |
INVALID_CONNECTION_TYPE
Value of -1 designating an invalid connection type. |
static int |
JDBC_CONNECTION_TYPE
Value of 2 designating a connection of type JDBC. |
static int |
SECURE_SOCKET_CONNECTION_TYPE
Value of 1 designating a connection of type SECURE SOCKET. |
static int |
SOCKET_CONNECTION_TYPE
Value of 0 designating a connection of type SOCKET. |
Method Summary | |
---|---|
boolean |
getBooleanProperty(String prop,
boolean defaultValue)
Return the value of a boolean property type. |
int |
getConnectionType()
Returns an integer specifying the DTS Editors connection type. |
int |
getIntProperty(String prop,
int defaultValue)
Return the value of an int property type. |
String |
getProperty(String prop)
Return the value of this property. |
String |
getProperty(String prop,
String defaultValue)
Returns the value of the specified property. |
Field Detail |
---|
static final int INVALID_CONNECTION_TYPE
static final int SOCKET_CONNECTION_TYPE
static final int SECURE_SOCKET_CONNECTION_TYPE
static final int JDBC_CONNECTION_TYPE
Method Detail |
---|
String getProperty(String prop)
prop
- the name of this property
String getProperty(String prop, String defaultValue)
prop
- the name of this propertydefaultValue
- a default value to return if the property is not set
boolean getBooleanProperty(String prop, boolean defaultValue)
boolean
property type. The method
returns the default value argument if the property is not found.
prop
- the name of this propertydefaultValue
- a default value to return if the property is not set
int getIntProperty(String prop, int defaultValue)
int
property type. The method
returns the default value argument if the property is not found.
prop
- the name of this propertydefaultValue
- a default value to return if the property is not set
int getConnectionType()
INVALID_CONNECTION_TYPE
,
SOCKET_CONNECTION_TYPE
,
SECURE_SOCKET_CONNECTION_TYPE
,
JDBC_CONNECTION_TYPE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |