    001package com.hammurapi.common;
    002
    003import java.io.InputStream;
    004import java.net.URL;
    005import java.util.Locale;
    006import java.util.Map;
    007
    008public interface ResourceLoader {
    009
    010        InputStream getResourceStream(String scriptName, Locale locale, String extension);
    011
    012        InputStream getResourceStream(String scriptName, String extension);
    013
    014        URL getResource(String scriptName, Locale locale, String extension);
    015
    016        URL getResource(String scriptName, String extension);
    017
    018        Map<String, Object> getProperties(String scriptName, Locale locale, String string);
    019
    020        Map<String, Object> getProperties(String scriptName, String string);
    021
    022}