public interface ResourceHandler
Modifier and Type | Method | 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.
|
ReadableResource gzip(Object path)
Project.file(Object)
.path
- The path evaluated as per Project.file(Object)
.ReadableResource bzip2(Object path)
Project.file(Object)
.path
- The path evaluated as per Project.file(Object)
.TextResourceFactory getText()
TextResource
s from various sources such as
strings, files, and archive entries.TextResource
s