diff options
author | Ocke Janssen [oj] <Ocke.Janssen@sun.com> | 2009-11-13 13:30:51 +0100 |
---|---|---|
committer | Ocke Janssen [oj] <Ocke.Janssen@sun.com> | 2009-11-13 13:30:51 +0100 |
commit | fff9375fe7296dd390c6dbca0486aa60f95bd058 (patch) | |
tree | 83b5079d5d5e4f819a14b9ee426c8915038f8129 /connectivity/source/inc/java/tools.hxx | |
parent | 8421bb9bf5894fb7043747876172a89c6e5a4820 (diff) |
#i105086# fix blob handling, map to bytes when possible
Diffstat (limited to 'connectivity/source/inc/java/tools.hxx')
-rw-r--r-- | connectivity/source/inc/java/tools.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/connectivity/source/inc/java/tools.hxx b/connectivity/source/inc/java/tools.hxx index af061d5599b7..a74865817ddb 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_ |