Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
CacheEntry |
compile(java.nio.file.Path path,
java.lang.String content) |
void |
register(java.util.function.Supplier<Compiler> compilerFactory,
java.lang.String firstExtension,
java.lang.String... moreExtensions) |
static Compilers |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Compilers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Compilers INSTANCE
public static Compilers[] values()
for (Compilers c : Compilers.values()) System.out.println(c);
public static Compilers valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void register(java.util.function.Supplier<Compiler> compilerFactory, java.lang.String firstExtension, java.lang.String... moreExtensions)
public CacheEntry compile(java.nio.file.Path path, java.lang.String content)
Copyright © 2014. All Rights Reserved.