public static InputStreamReader getResourceAsReader(String resource) throws IOException {
        return new InputStreamReader(getResourceAsStream(resource));
    }
Returns a resource on the classpath as a Reader object

@param resource
           The resource to find
@throws IOException
            If the resource cannot be found or read
@return The resource
metamorphosis-commons/src/main/java/com/taobao/metamorphosis/utils/ResourceUtils.java