public class DefaultResourceHandler extends Object implements ResourceHandler
| Constructor and Description |
|---|
DefaultResourceHandler(FileResolver resolver) |
| Modifier and Type | Method and Description |
|---|---|
ReadableResource |
bzip2(Object path)
Creates resource that points to a bzip2 compressed file at the given path.
|
ReadableResource |
gzip(Object path)
Creates resource that points to a gzip compressed file at the given path.
|
ReadableResource |
maybeCompressed(Object tarPath) |
public DefaultResourceHandler(FileResolver resolver)
public ReadableResource gzip(Object path)
ResourceHandlerProject.file(Object).gzip in interface ResourceHandlerpath - The path evaluated as for Project.file(Object).public ReadableResource bzip2(Object path)
ResourceHandlerProject.file(Object).bzip2 in interface ResourceHandlerpath - The path evaluated as for Project.file(Object).public ReadableResource maybeCompressed(Object tarPath)
Copyright © 2013. All rights reserved