Duplications

FileLine
org/apache/torque/generator/configuration/DirectoryConfigurationProvider.java99
org/apache/torque/generator/configuration/JarConfigurationProvider.java118
            + configurationPaths.getControlConfigurationFile();
    }

    public InputStream getTemplateInputStream(String name)
            throws ConfigurationException
    {
        return getInputStream(
                name,
                configurationPaths.getTemplateDirectory(),
                "template");
    }

    public InputStream getOutletConfigurationInputStream(String name)
            throws ConfigurationException
    {
        return getInputStream(
                name,
                configurationPaths.getOutletDirectory(),
                "outlet configuration");
   }

    public InputStream getResourceInputStream(String name)
            throws ConfigurationException
    {
        return getInputStream(
                name,
                configurationPaths.getResourceDirectory(),
                "resource");
    }

    public InputStream getOptionsInputStream(String name)
            throws ConfigurationException
    {
        return getInputStream(
                name,
                configurationPaths.getConfigurationDirectory(),
                "option");
    }

    private InputStream getInputStream(