@@ -0,0 +1,1299 @@
+/**%0A * Copyright %C2%A9 2010-2015 Atilika Inc. and contributors (see CONTRIBUTORS.md)%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22); you may%0A * not use this file except in compliance with the License.  A copy of the%0A * License is distributed with this work in the LICENSE.md file.  You may%0A * also obtain a copy of the License from%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.atilika.kuromoji.util;%0A%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0A%0Apublic class SimpleResolver implements ResourceResolver%7B%0A%0A    private Class%3C?%3E clazz;%0A%0A    public SimpleResolver(Class%3C?%3E clazz) %7B%0A        this.clazz = clazz;%0A    %7D%0A%0A    @Override%0A    public InputStream resolve(String resourceName) throws IOException %7B%0A        InputStream input = clazz.getResourceAsStream(resourceName);%0A        if (input == null) %7B%0A            throw new IOException(%22Classpath resource not found: %22 + resourceName);%0A        %7D%0A        return input;%0A    %7D%0A%7D%0A

Add SimpleResolver