APISonar


org.kohsuke.stapler.lang.Klass.java

> org > kohsuke > stapler > lang > Klass > java
org APIs kohsuke APIs stapler APIs lang APIs Klass APIs java APIs

Example 1
public String getHtmlHelp(Class type, String attribute) throws IOException {
        final URL resource = Klass.java(type).getResource("help-" + attribute + ".html");
        if (resource != null) {
            return IOUtils.toString(resource.openStream());
        }
        return "";
    }