public class SolidityCompiler
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SolidityCompiler.CustomOption |
static interface |
SolidityCompiler.Option |
static class |
SolidityCompiler.Options
This class is mainly here for backwards compatibility; however we are now reusing it making
it the solely public interface listing all the supported options.
|
static class |
SolidityCompiler.Result |
| Constructor and Description |
|---|
SolidityCompiler() |
| Modifier and Type | Method and Description |
|---|---|
static SolidityCompiler.Result |
compile(byte[] source,
boolean sm,
boolean combinedJson,
SolidityCompiler.Option... options) |
static SolidityCompiler.Result |
compile(java.io.File source,
boolean sm,
boolean combinedJson,
SolidityCompiler.Option... options) |
static SolidityCompiler |
getInstance() |
static java.lang.String |
runGetVersionOutput(boolean sm) |
public static SolidityCompiler.Result compile(java.io.File source, boolean sm, boolean combinedJson, SolidityCompiler.Option... options) throws java.io.IOException
source - sm - combinedJson - options - java.io.IOExceptionpublic static SolidityCompiler.Result compile(byte[] source, boolean sm, boolean combinedJson, SolidityCompiler.Option... options) throws java.io.IOException
source - sm - combinedJson - options - java.io.IOExceptionpublic static java.lang.String runGetVersionOutput(boolean sm)
throws java.io.IOException
java.io.IOExceptionpublic static SolidityCompiler getInstance()