Package org.gradle.api.resources
Schnittstelle ResourceHandler
public interface ResourceHandler
Provides access to resource-specific utility methods, for example factory methods that create various resources.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungCreates 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.
-
Methodendetails
-
gzip
Creates resource that points to a gzip compressed file at the given path. The path is evaluated as perProject.file(Object).- Parameter:
path- The path evaluated as perProject.file(Object).
-
bzip2
Creates resource that points to a bzip2 compressed file at the given path. The path is evaluated as perProject.file(Object).- Parameter:
path- The path evaluated as perProject.file(Object).
-
getText
TextResourceFactory getText()Returns a factory for creatingTextResources from various sources such as strings, files, and archive entries.- Gibt zurück:
- a factory for creating
TextResources - Seit:
- 2.2
-