Package org.gradle.api.resources
Interface ReadableResource
- All Superinterfaces:
- Resource
A resource that can be read. The simplest example is a file.
- 
Method SummaryModifier and TypeMethodDescriptionread()Returns an unbufferedInputStreamthat provides means to read the resource.Methods inherited from interface org.gradle.api.resources.ResourcegetBaseName, getDisplayName, getURI
- 
Method Details- 
readReturns an unbufferedInputStreamthat provides means to read the resource. It is the caller's responsibility to close this stream.- Returns:
- An input stream.
- Throws:
- MissingResourceException
- ResourceException
 
 
-