<commit_before>package jsettlers.common.resources;

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

/**
 * This is the resource manager. It gives you resources.
 * 
 * @author michael
 */
public class ResourceManager {
	private static IResourceProvider provider = null;

	public static void setProvider(IResourceProvider provider) {
		ResourceManager.provider = provider;
	}

	public static InputStream getFile(String filename) throws IOException {
		if (provider != null) {
			return provider.getFile(filename);
		} else {
			throw new IOException("No resource provider set.");
		}
	}
<commit_msg>Changed the game to use the start screen. Added android icon<commit_after>package jsettlers.common.resources;

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

/**
 * This is the resource manager. It gives you resources.
 * 
 * @author michael
 */
public class ResourceManager {
	private static IResourceProvider provider = null;

	public static void setProvider(IResourceProvider provider) {
		ResourceManager.provider = provider;
	}

	/**
	 * Gets the file. Throws a io exception if the file does not exist.
	 * @param filename
	 * @return
	 * @throws IOException
	 */
	public static InputStream getFile(String filename) throws IOException {
		if (provider != null) {
			return provider.getFile(filename);
		} else {
			throw new IOException("No resource provider set.");
		}
	}

{'fraction_non_alphanumeric': 0.09009628610729023, 'fraction_numerical': 0.0, 'mean_word_length': 4.252707581227437, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4621606', 'n_tokens_mistral': 415, 'n_tokens_neox': 384, 'n_words': 134}