summaryrefslogtreecommitdiff
path: root/connectivity/source/inc
diff options
context:
space:
mode:
authorOcke Janssen [oj] <Ocke.Janssen@sun.com>2009-11-13 13:30:51 +0100
committerOcke Janssen [oj] <Ocke.Janssen@sun.com>2009-11-13 13:30:51 +0100
commit89b8ef0512fbdc94fffb361d276d9a749418569f (patch)
treeb00b14ccd1ebeb7276eb0e307f89c57fba74d37e /connectivity/source/inc
parent29d251991adddfd3f4e6507ae7b3069277efb386 (diff)
#i105086# fix blob handling, map to bytes when possible
Diffstat (limited to 'connectivity/source/inc')
-rw-r--r--connectivity/source/inc/java/tools.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/connectivity/source/inc/java/tools.hxx b/connectivity/source/inc/java/tools.hxx
index 098126895a..897a5ac572 100644
--- a/connectivity/source/inc/java/tools.hxx
+++ b/connectivity/source/inc/java/tools.hxx
@@ -41,6 +41,7 @@
#include <comphelper/uno3.hxx>
#include <com/sun/star/container/XNameAccess.hpp>
+#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/util/Time.hpp>
#include <com/sun/star/util/Date.hpp>
#include <com/sun/star/util/DateTime.hpp>
@@ -85,6 +86,9 @@ namespace connectivity
<TRUE/> if an exception is occured
*/
sal_Bool isExceptionOccured(JNIEnv *pEnv,sal_Bool _bClear);
+
+ jobject createByteInputStream(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x,sal_Int32 length);
+ jobject createCharArrayReader(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x,sal_Int32 length);
}
#endif // _CONNECTIVITY_JAVA_TOOLS_HXX_