Save This Page
Home » slf4j-1.5.5 » org.apache » log4j » lf5 » util » [javadoc | source]
org.apache.log4j.lf5.util
public class: ResourceUtils [javadoc | source]
java.lang.Object
   org.apache.log4j.lf5.util.ResourceUtils
ResourceUtils. Provide a set of convenience methods for working with Resources.
Method from org.apache.log4j.lf5.util.ResourceUtils Summary:
getResourceAsStream,   getResourceAsURL
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.log4j.lf5.util.ResourceUtils Detail:
 public static InputStream getResourceAsStream(Object object,
    Resource resource) 
    Get the InputStream for this resource. Note: to convert an InputStream into an InputReader, use: new InputStreamReader(InputStream).
 public static URL getResourceAsURL(Object object,
    Resource resource) 
    Get the URL for this resource.