Provides access to resource-specific utility methods, for example factory methods that create various resources.
Type | Name and description |
---|---|
ReadableResource |
bzip2(Object path) Creates resource that points to a bzip2 compressed file at the given path. |
TextResourceFactory |
getText() Returns a factory for creating TextResource s from various sources such as
strings, files, and archive entries. |
ReadableResource |
gzip(Object path) Creates resource that points to a gzip compressed file at the given path. |
Creates resource that points to a bzip2 compressed file at the given path. The path is evaluated as per Project.file.
path
- The path evaluated as per Project.file. Returns a factory for creating TextResource
s from various sources such as
strings, files, and archive entries.
TextResource
sCreates resource that points to a gzip compressed file at the given path. The path is evaluated as per Project.file.
path
- The path evaluated as per Project.file.