Package org.gradle.api.resources
Interface ReadableResource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.InputStream
read()
Returns an unbufferedInputStream
that provides means to read the resource.-
Methods inherited from interface org.gradle.api.resources.Resource
getBaseName, getDisplayName, getURI
-
-
-
-
Method Detail
-
read
java.io.InputStream read() throws MissingResourceException, ResourceException
Returns an unbufferedInputStream
that provides means to read the resource. It is the caller's responsibility to close this stream.- Returns:
- An input stream.
- Throws:
MissingResourceException
ResourceException
-
-