22#include <com/sun/star/lang/DisposedException.hpp>
31using namespace css::uno;
32using namespace css::beans;
33using namespace css::sdbcx;
34using namespace css::sdbc;
35using namespace css::lang;
40OUString SAL_CALL ODriver::getImplementationName( )
42 return "com.sun.star.comp.sdbc.flat.ODriver";
46extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
48 css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any>
const&)
57 return getXWeak(ret.get());
62 ::osl::MutexGuard aGuard(
m_aMutex );
63 if (ODriver_BASE::rBHelper.bDisposed)
64 throw DisposedException();
70 pCon->construct(url,info);
78 return url.startsWith(
"sdbc:flat:");
87 std::vector< DriverPropertyInfo > aDriverInfo
98 ,
"Text contains headers."
112 ,
"Decimal separator."
119 ,
"Thousands separator."
125 return ::comphelper::concatSequences(OFileDriver::getPropertyInfo(url,info ),
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * connectivity_flat_ODriver(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
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
connectivity::OWeakRefArray m_xConnections
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
virtual sal_Bool SAL_CALL acceptsURL(const OUString &url) override