类 SolidityCompiler
- java.lang.Object
-
- org.fisco.solc.compiler.SolidityCompiler
-
public class SolidityCompiler extends java.lang.Object
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classSolidityCompiler.CustomOptionstatic interfaceSolidityCompiler.Optionstatic classSolidityCompiler.OptionsThis 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 classSolidityCompiler.Result
-
构造器概要
构造器 构造器 说明 SolidityCompiler()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static SolidityCompiler.Resultcompile(byte[] source, boolean sm, boolean combinedJson, SolidityCompiler.Option... options)static SolidityCompiler.Resultcompile(java.io.File source, boolean sm, boolean combinedJson, SolidityCompiler.Option... options)static SolidityCompilergetInstance()SolcgetSolc(boolean sm)static java.lang.StringrunGetVersionOutput(boolean sm)
-
-
-
方法详细资料
-
compile
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.IOException
-
compile
public static SolidityCompiler.Result compile(byte[] source, boolean sm, boolean combinedJson, SolidityCompiler.Option... options) throws java.io.IOException
- 参数:
source-sm-combinedJson-options-- 返回:
- 抛出:
java.io.IOException
-
runGetVersionOutput
public static java.lang.String runGetVersionOutput(boolean sm) throws java.io.IOException- 抛出:
java.io.IOException
-
getSolc
public Solc getSolc(boolean sm)
-
getInstance
public static SolidityCompiler getInstance()
-
-