org.apache.commons.codec
Class Resources
- java.lang.Object
- org.apache.commons.codec.Resources
public class Resources extends Object
Consider this class package private. Helps load resources.- Since:
- 1.12
Constructor Summary
Constructors Constructor and Description Resources()
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static InputStream
getInputStream(String name)
Opens the given named resource from the given class.
Method Detail
getInputStream
public static InputStream getInputStream(String name)
Opens the given named resource from the given class.- Parameters:
name
- The resource name.- Returns:
- An input stream.
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.