40OFileDriver::OFileDriver(css::uno::Reference< css::uno::XComponentContext > _xContext)
59 ODriver_BASE::disposing();
66 return "com.sun.star.sdbc.driver.file.Driver";
77 return {
"com.sun.star.sdbc.Driver",
"com.sun.star.sdbcx.Driver" };
83 ::osl::MutexGuard aGuard(
m_aMutex );
87 pCon->construct(url,info);
95 return url.startsWith(
"sdbc:file:");
109 ,
"CharSet of the database."
116 ,
"Extension of the file format."
123 ,
"Display inactive records."
130 ,
"Use SQL92 naming constraints."
137 ,
"Handle the connection url as relative path."
144 ,
"The URL of the database document which is used to create an absolute path."
173 ::osl::MutexGuard aGuard(
m_aMutex );
176 if (
OConnection* pSearchConnection = comphelper::getFromUnoTunnel<OConnection>(connection))
181 return pSearchConnection->createCatalog();
Reference< XComponentContext > m_xContext
helper class for accessing resources shared by different libraries in the connectivity module
OUString getResourceString(TranslateId pResId) const
loads a string from the shared resource file
virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByURL(const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByConnection(const css::uno::Reference< css::sdbc::XConnection > &connection) override
virtual sal_Bool SAL_CALL acceptsURL(const OUString &url) override
connectivity::OWeakRefArray m_xConnections
virtual sal_Int32 SAL_CALL getMajorVersion() override
virtual void SAL_CALL disposing() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual sal_Int32 SAL_CALL getMinorVersion() override
virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL connect(const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override
virtual css::uno::Sequence< css::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo(const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override
OOperandAttr(sal_uInt16 _nPos, const css::uno::Reference< css::beans::XPropertySet > &_xColumn)
sal_Int32 getINT32(const Any &_rAny)
::cppu::WeakComponentImplHelper< css::sdbc::XDriver, css::lang::XServiceInfo, css::sdbcx::XDataDefinitionSupplier > ODriver_BASE
void checkDisposed(bool _bThrow)
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
bool getPropertyValue(ValueType &rValue, css::uno::Reference< css::beans::XPropertySet > const &xPropSet, OUString const &propName)
Reference< XComponentContext > _xContext