<commit_before>//
// $Id: Handler.java,v 1.1 2003/04/24 07:23:47 ray Exp $

package com.threerings.resource;

import java.io.IOException;
import java.io.InputStream;

import java.net.URL;
import java.net.URLConnection;
import java.net.URLStreamHandler;

/**
 * This class is not used directly, except by a registering ResourceManager
 * so that we can load data from the resource manager using URLs of the form
 * <code>resource://&lt;bundle&gt;/&lt;path&gt;</code>.
 */
public class Handler extends URLStreamHandler
{
    /**
     * Register this class to handle "resource" urls
     * ("resource://<i>bundlename</i>/<i>path</i>") with the specified
     * ResourceManager.<commit_msg>Corrected documentation: the resource set is supplied, not the specific bundle.<commit_after>//
// $Id: Handler.java,v 1.2 2003/04/24 07:26:45 ray Exp $

package com.threerings.resource;

import java.io.IOException;
import java.io.InputStream;

import java.net.URL;
import java.net.URLConnection;
import java.net.URLStreamHandler;

/**
 * This class is not used directly, except by a registering ResourceManager
 * so that we can load data from the resource manager using URLs of the form
 * <code>resource://&lt;resourceSet&gt;/&lt;path&gt;</code>.
 */
public class Handler extends URLStreamHandler
{
    /**
     * Register this class to handle "resource" urls
     * ("resource://<i>resourceSet</i>/<i>path</i>") with the specified
     * ResourceManager.
{'fraction_non_alphanumeric': 0.12673130193905818, 'fraction_numerical': 0.0221606648199446, 'mean_word_length': 4.088028169014085, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '2970728', 'n_tokens_mistral': 462, 'n_tokens_neox': 432, 'n_words': 137}