Class DBType
java.lang.Object
net.sourceforge.pmd.util.database.DBType
Encapsulate the settings needed to access database source code.
- Author:
- sturton
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PropertiesgetResourceBundleAsProperties(ResourceBundle resourceBundle) ConvertresourceBundleto usableProperties.intinthashCode()voidsetProperties(Properties properties) toString()
-
Constructor Details
-
DBType
- Parameters:
dbType-- Throws:
Exception
-
DBType
Load the most specific dbType for the protocol- Parameters:
subProtocol-subnamePrefix-- Throws:
IOException
-
-
Method Details
-
getProperties
-
getResourceBundleAsProperties
ConvertresourceBundleto usableProperties.- Parameters:
resourceBundle- ResourceBundle- Returns:
- Properties
-
hashCode
public int hashCode() -
equals
-
getDriverClass
- Returns:
- the driverClass
-
getCharacterSet
- Returns:
- the characterSet
-
getSourceCodeTypes
- Returns:
- the sourceCodeTypes
-
getLanguages
- Returns:
- the languages
-
getSourceCodeReturnType
public int getSourceCodeReturnType()- Returns:
- the sourceCodeReturnType
-
getPropertiesSource
- Returns:
- the propertiesSource
-
setProperties
- Parameters:
properties- the properties to set
-
toString
-