org.gcube.portlets.user.homelibrary.util.config.easyconf
Class DatasourceURL
java.lang.Object
org.gcube.portlets.user.homelibrary.util.config.easyconf.DatasourceURL
public class DatasourceURL
- extends Object
Represents the URL to a datasource as specified in a properties file
- Author:
- Jorge Ferrer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIGURATION_OBJECTS_TABLE
public static final String CONFIGURATION_OBJECTS_TABLE
- See Also:
- Constant Field Values
PROPERTIES_TABLE
public static final String PROPERTIES_TABLE
- See Also:
- Constant Field Values
DatasourceURL
public DatasourceURL(String datasourcePath,
String companyId,
String componentName,
String tableName)
getDatasource
public DataSource getDatasource()
getTableName
protected String getTableName()
getComponentColumnName
protected String getComponentColumnName()
getKeyColumnName
protected String getKeyColumnName()
getValueColumnName
protected String getValueColumnName()
isDatasource
public static boolean isDatasource(String fileName)
getConfiguration
public org.apache.commons.configuration.DatabaseConfiguration getConfiguration()
Copyright © 2013. All Rights Reserved.