Table of Contents
API Documentation: | ResourceHandler |
---|
Provides access to resource-specific utility methods, for example factory methods that create various resources.
Property | Description |
text | Returns a factory for creating |
Method | Description |
bzip2(path) | Creates resource that points to a bzip2 compressed file at the given path.
The path is evaluated as per |
gzip(path) | Creates resource that points to a gzip compressed file at the given path.
The path is evaluated as per |
TextResourceFactory
text
(read-only)
Returns a factory for creating TextResource
s from various sources such as
strings, files, and archive entries.
ReadableResource
bzip2
(Object
path)
Creates resource that points to a bzip2 compressed file at the given path.
The path is evaluated as per Project.file(java.lang.Object)
.
ReadableResource
gzip
(Object
path)
Creates resource that points to a gzip compressed file at the given path.
The path is evaluated as per Project.file(java.lang.Object)
.