Package | Description |
---|---|
sirius.tagliatelle | |
sirius.web.mails | |
sirius.web.resources |
Modifier and Type | Field and Description |
---|---|
protected Resource |
Template.resource |
Modifier and Type | Method and Description |
---|---|
Resource |
Template.getResource()
Returns the resource which was used as input for the template.
|
Modifier and Type | Method and Description |
---|---|
CompilationContext |
Tagliatelle.createCompilationContext(String path,
Resource resource,
CompilationContext parent)
Creates a new
CompilationContext for the given path and resource. |
Constructor and Description |
---|
Template(String name,
Resource resource)
Creates a new template with the given name (full path) and resource.
|
Constructor and Description |
---|
ResourceAttachment(String name,
String mimeType,
Resource resource,
boolean asAlternative)
Generates a new attachment with the given name, mime type and contents.
|
Modifier and Type | Method and Description |
---|---|
static Resource |
Resource.constantResource(String scopeId,
String path,
URL url)
Creates a new constant resource for the given scope, path and resulting url.
|
static Resource |
Resource.dynamicResource(String scopeId,
String path,
URL url)
Creates a new dynamic resource for the given scope, path and resulting url.
|
Resource |
Resolver.resolve(String scopeId,
String resource)
Resolves the given resource into an URL.
|
Resource |
ClasspathResolver.resolve(String scopeId,
String resource) |
Resource |
ClasspathCustomizationResolver.resolve(String scopeId,
String resource) |
Resource |
LocalPathResolver.resolve(String scopeId,
String resource) |
Modifier and Type | Method and Description |
---|---|
Optional<Resource> |
Resources.resolve(String uri)
Tries to resolve a template or content-file into a
Resource |
Optional<Resource> |
Resources.resolve(String scopeId,
String uri)
Tries to resolve a template or content-file into a
Resource |
Copyright © 2018. All rights reserved.