java.lang.Object
tech.deplant.java4ever.framework.generator.ContractWrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidgenerate(tech.deplant.java4ever.binding.Abi.AbiContract abi, Tvc tvc, Path targetDirectory, String contractName, String contractNameMask, String templateNameMask, String wrapperPackage, String templatePackage, boolean externalOutputs, String[] superInterfaces) Generate.static voidgenerateFromConfig(String resourcePath) Generate from config.
-
Constructor Details
-
ContractWrapper
public ContractWrapper()
-
-
Method Details
-
generateFromConfig
public static void generateFromConfig(String resourcePath) throws IOException, tech.deplant.java4ever.binding.EverSdkException Generate from config.- Parameters:
resourcePath- the resource path- Throws:
IOException- the io exceptiontech.deplant.java4ever.binding.EverSdkException- the ever sdk exception
-
generate
public static void generate(tech.deplant.java4ever.binding.Abi.AbiContract abi, Tvc tvc, Path targetDirectory, String contractName, String contractNameMask, String templateNameMask, String wrapperPackage, String templatePackage, boolean externalOutputs, String[] superInterfaces) throws IOException, tech.deplant.java4ever.binding.EverSdkException Generate.- Parameters:
abi- the abitvc- the tvctargetDirectory- the target directorycontractName- the contract namecontractNameMask- the contract name masktemplateNameMask- the template name maskwrapperPackage- the wrapper packagetemplatePackage- the template packageexternalOutputs- the external outputssuperInterfaces- the super interfaces- Throws:
IOException- the io exceptiontech.deplant.java4ever.binding.EverSdkException- the ever sdk exception
-