@FunctionalInterface
public interface ResourceCompiler
Modifier and Type | Field and Description |
---|---|
static ResourceCompiler |
NONE
Resource compiler that doesn't do anything.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<java.io.File> |
compile(CompileResourceRequest request)
Produces an optional output file for an input file.
|
static final ResourceCompiler NONE
@NonNull java.util.concurrent.Future<java.io.File> compile(@NonNull CompileResourceRequest request) throws java.lang.Exception
null
, then the file is not compilable; this future may hol an
exception if compilation failsjava.lang.Exception
- failed to process the compilation request