Package org.apache.commons.codec
Class Resources
java.lang.Object
org.apache.commons.codec.Resources
Consider this class package private. Helps load resources.
- Since:
- 1.12
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic InputStreamgetInputStream(String name) Gets a read-only stream on the contents of the resource specified by resName.
- 
Constructor Details- 
ResourcesDeprecated.TODO Make private in 2.0.TODO Make private in 2.0.
 
- 
- 
Method Details- 
getInputStreamGets a read-only stream on the contents of the resource specified by resName. The mapping between the resource name and the stream is managed by this class's class loader.- Parameters:
- name- The resource name.
- Returns:
- An input stream.
- See Also:
 
 
-