Package org.gradle.api.resources
Interface ResourceHandler
public interface ResourceHandler
Provides access to resource-specific utility methods, for example factory methods that create various resources.
- 
Method SummaryModifier and TypeMethodDescriptionCreates resource that points to a bzip2 compressed file at the given path.getText()Returns a factory for creatingTextResources from various sources such as strings, files, and archive entries.Creates resource that points to a gzip compressed file at the given path.
- 
Method Details- 
gzipCreates resource that points to a gzip compressed file at the given path. The path is evaluated as perProject.file(Object).- Parameters:
- path- The path evaluated as per- Project.file(Object).
 
- 
bzip2Creates resource that points to a bzip2 compressed file at the given path. The path is evaluated as perProject.file(Object).- Parameters:
- path- The path evaluated as per- Project.file(Object).
 
- 
getTextTextResourceFactory getText()Returns a factory for creatingTextResources from various sources such as strings, files, and archive entries.- Returns:
- a factory for creating TextResources
- Since:
- 2.2
 
 
-