<commit_before>/*
 * StorageNativeOutputStream.java
 *
 * Created on 1. September 2004, 10:20
 */

package com.sun.star.sdbcx.comp.hsqldb;
import com.sun.star.lib.util.NativeLibraryLoader;
import com.sun.star.embed.XStorage;
import com.sun.star.embed.ElementModes;
/**
 *
 * @author  oj93728
 */
public class StorageNativeOutputStream {
    String name;
    Object key;
    static {
    // preload shared libraries whichs import lips are linked to jpipe
    if ( System.getProperty( "os.name" ).startsWith( "Windows" ) )
    {
            NativeLibraryLoader.loadLibrary(StorageNativeOutputStream.class.getClassLoader(), "msvcr71");
            NativeLibraryLoader.loadLibrary(StorageNativeOutputStream.class.getClassLoader(), "uwinapi");
            NativeLibraryLoader.loadLibrary(StorageNativeOutputStream.class.getClassLoader(), "sal3");
            NativeLibraryLoader.loadLibrary(StorageNativeOutputStream.class.getClassLoader(), "dbtools680mi");
    }

    // load shared library for JNI code
        NativeLibraryLoader.loadLibrary(StorageNativeOutputStream.class.getClassLoader(), "hsqldb2");
    }
    /** Creates a new instance of StorageNativeOutputStream */
    public StorageNativeOutputStream(String _name,Object _key) {
        name = _name;
        key = _key;
        openStream(name, (String)key, ElementModes.WRITE | ElementModes.TRUNCATE);
    }
<commit_msg>INTEGRATION: CWS sb36 (1.4.60); FILE MERGED 2005/07/14 12:33:04 sb 1.4.60.1: #i51803# Cleaned up dependencies.<commit_after>/*
 * StorageNativeOutputStream.java
 *
 * Created on 1. September 2004, 10:20
 */

package com.sun.star.sdbcx.comp.hsqldb;
import com.sun.star.lib.util.NativeLibraryLoader;
import com.sun.star.embed.ElementModes;
/**
 *
 * @author  oj93728
 */
public class StorageNativeOutputStream {
    String name;
    Object key;
    static {
    // preload shared libraries whichs import lips are linked to jpipe
    if ( System.getProperty( "os.name" ).startsWith( "Windows" ) )
    {
            NativeLibraryLoader.loadLibrary(StorageNativeOutputStream.class.getClassLoader(), "msvcr71");
            NativeLibraryLoader.loadLibrary(StorageNativeOutputStream.class.getClassLoader(), "uwinapi");
            NativeLibraryLoader.loadLibrary(StorageNativeOutputStream.class.getClassLoader(), "sal3");
            NativeLibraryLoader.loadLibrary(StorageNativeOutputStream.class.getClassLoader(), "dbtools680mi");
    }

    // load shared library for JNI code
        NativeLibraryLoader.loadLibrary(StorageNativeOutputStream.class.getClassLoader(), "hsqldb2");
    }
    /** Creates a new instance of StorageNativeOutputStream */
    public StorageNativeOutputStream(String _name,Object _key) {
        name = _name;
        key = _key;
        openStream(name, (String)key, ElementModes.WRITE | ElementModes.TRUNCATE);
    }

{'fraction_non_alphanumeric': 0.10854913089748137, 'fraction_numerical': 0.02554097197587797, 'mean_word_length': 3.7635135135135136, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3022583', 'n_tokens_mistral': 840, 'n_tokens_neox': 802, 'n_words': 161}