public interface ResourceCompiler
| Modifier and Type | Method and Description |
|---|---|
void |
compile(Stream<CompilerEntry> entries)
Compiles/minifies provided
Stream of resources' entries. |
String |
content(String key)
Provides compiled/minified contents of the resource under provided key.
|
default Optional<InputStream> |
toInputStream(String key) |
void compile(@Nonnull Stream<CompilerEntry> entries)
Stream of resources' entries.entries - - resources entries to minify.String content(@Nonnull String key)
key - - wanted resource's ID (can be a path).default Optional<InputStream> toInputStream(String key)
Copyright © 2024 Atlassian. All rights reserved.