public class SolidityCompiler
extends java.lang.Object
| 限定符和类型 | 类和说明 |
|---|---|
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 |
| 构造器和说明 |
|---|
SolidityCompiler() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SolidityCompiler.Result |
compile(byte[] source,
boolean sm,
boolean combinedJson,
Version version,
SolidityCompiler.Option... options) |
static SolidityCompiler.Result |
compile(java.io.File source,
boolean sm,
boolean combinedJson,
Version version,
SolidityCompiler.Option... options) |
static SolidityCompiler |
getInstance() |
Solc |
getSolc(boolean sm,
Version version) |
static java.lang.String |
runGetVersionOutput(boolean sm,
Version version) |
public static SolidityCompiler.Result compile(java.io.File source, boolean sm, boolean combinedJson, Version version, SolidityCompiler.Option... options) throws java.io.IOException
source - sm - combinedJson - options - java.io.IOExceptionpublic static SolidityCompiler.Result compile(byte[] source, boolean sm, boolean combinedJson, Version version, SolidityCompiler.Option... options) throws java.io.IOException
source - sm - combinedJson - options - java.io.IOExceptionpublic static java.lang.String runGetVersionOutput(boolean sm,
Version version)
throws java.io.IOException
java.io.IOExceptionpublic static SolidityCompiler getInstance()