User: vg Date: 05/02/16 07:47:48 Modified: /dba/connectivity/com/sun/star/sdbcx/comp/hsqldb/ NativeOutputStreamHelper.java
Log: INTEGRATION: CWS hsqldb2 (1.2.20); FILE MERGED 2005/01/28 12:21:05 oj 1.2.20.2: #i39922# new interfaces in hsqldb 2005/01/26 09:05:06 oj 1.2.20.1: new version of hsqldb File Changes: Directory: /dba/connectivity/com/sun/star/sdbcx/comp/hsqldb/ ============================================================ File [changed]: NativeOutputStreamHelper.java Url: http://dba.openoffice.org/source/browse/dba/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.java?r1=1.2&r2=1.3 Delta lines: +9 -8 ------------------- --- NativeOutputStreamHelper.java 9 Nov 2004 12:05:43 -0000 1.2 +++ NativeOutputStreamHelper.java 16 Feb 2005 15:47:45 -0000 1.3 @@ -15,34 +15,35 @@ private String key; private String file; - XStorage storage; private StorageNativeOutputStream out; /** Creates a new instance of NativeOutputStreamHelper */ - public NativeOutputStreamHelper(String key,String _file,XStorage _storage) { + public NativeOutputStreamHelper(String key,String _file) { file = _file; - storage = _storage; this.key = key; out = new StorageNativeOutputStream(file,key); } public void write(byte[] b, int off, int len) throws java.io.IOException{ - out.write(storage,key,file,b, off, len); + out.write(key,file,b, off, len); } public void write(byte[] b) throws java.io.IOException{ - out.write(storage,key,file,b); + out.write(key,file,b); } public void close() throws java.io.IOException{ - out.close(storage,key,file); + out.close(key,file); } public void write(int b) throws java.io.IOException{ - out.write(storage,key,file,b); + out.write(key,file,b); } public void flush() throws java.io.IOException{ - out.flush(storage,key,file); + out.flush(key,file); } + public void sync() throws java.io.IOException{ + out.sync(key,file); + } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
