Class MakeModules
java.lang.Object
|
+----MakeModules
- public class MakeModules
- extends Object
Automatically generate the intermediate java and C(++) files necessary for
calling a C module. Furthermore this class contains a method that gives the
module developer directions of what to do after the intermediate files are
generated.
- Version:
- $Revision: 1.3 $
-
moduleName
-
-
MakeModules(String)
-
-
makeCModule(File, InConnectorStore, OutConnectorStore, String[], String[])
- Automatically generate the intermediate C(++) file.
-
makeJavaModule(File, boolean, String, InConnectorStore, OutConnectorStore, String[], String[])
- Automatically generate the intermediate Java file.
-
makeSuggestions(File, InConnectorStore, OutConnectorStore, String[], String[], ParameterStore)
- Generate a list of things to do for the module developer after the
intermediate files are generated.
-
makeUniqueExtensions(InConnectorStore, OutConnectorStore, String[], String[])
- Some of the physical types of the in and out connectors may be the same
so make them all unique.
moduleName
private String moduleName
MakeModules
MakeModules(String moduleName)
makeUniqueExtensions
public static void makeUniqueExtensions(InConnectorStore input,
OutConnectorStore output,
String inType[],
String outType[])
- Some of the physical types of the in and out connectors may be the same
so make them all unique.
All in and out connectors are investigated, if there are any of the same
type they will get an index number. The new (unique) type will be stored
in the inType and outType parameters.
makeJavaModule
public void makeJavaModule(File jFile,
boolean javaCModules,
String moduleDescription,
InConnectorStore input,
OutConnectorStore output,
String inType[],
String outType[]) throws FileNotFoundException, IOException
- Automatically generate the intermediate Java file. This file contains the
call to a native C(++) function.
makeCModule
public void makeCModule(File cFile,
InConnectorStore input,
OutConnectorStore output,
String inType[],
String outType[]) throws FileNotFoundException, IOException
- Automatically generate the intermediate C(++) file. The generated file
will only contain 1 function: Java__native". This
funtion is called by the run method of the intermediate Java module.
- See Also:
- run
makeSuggestions
public void makeSuggestions(File sFile,
InConnectorStore input,
OutConnectorStore output,
String inType[],
String outType[],
ParameterStore parameters) throws FileNotFoundException, IOException
- Generate a list of things to do for the module developer after the
intermediate files are generated.