diff options
Diffstat (limited to 'connectivity/com/sun/star/sdbcx/comp/hsqldb')
-rw-r--r-- | connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.java | 6 | ||||
-rw-r--r-- | connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.java b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.java index 62e17e252a2c..c8e7d5d84b03 100644 --- a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.java +++ b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.java @@ -34,26 +34,32 @@ public class NativeInputStreamHelper extends java.io.InputStream{ in = new StorageNativeInputStream(key,file); } + @Override public int read() throws java.io.IOException { return in.read(key,file); } + @Override public int read(byte[] b, int off, int len) throws java.io.IOException { return in.read(key,file,b,off,len); } + @Override public void close() throws java.io.IOException { in.close(key,file); } + @Override public long skip(long n) throws java.io.IOException { return in.skip(key,file,n); } + @Override public int available() throws java.io.IOException { return in.available(key,file); } + @Override public int read(byte[] b) throws java.io.IOException { return in.read(key,file,b); } diff --git a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java index 922e7111355a..24776f25c2f4 100644 --- a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java +++ b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java @@ -36,22 +36,27 @@ public class NativeOutputStreamHelper extends java.io.OutputStream{ out = new StorageNativeOutputStream(file,key); } + @Override public void write(byte[] b, int off, int len) throws java.io.IOException{ out.write(key,file,b, off, len); } + @Override public void write(byte[] b) throws java.io.IOException{ out.write(key,file,b); } + @Override public void close() throws java.io.IOException{ out.close(key,file); } + @Override public void write(int b) throws java.io.IOException{ out.write(key,file,b); } + @Override public void flush() throws java.io.IOException{ out.flush(key,file); } |