public class JacorbTranslator extends AbstractTranslator implements CompilerTranslator
CompilerTranslator for the JacORB IDL compiler| Constructor and Description |
|---|
JacorbTranslator()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
invokeCompiler(String sourceDirectory,
File[] includeDirs,
String targetDirectory,
String idlFile,
Source source)
This method it's used to invoke the compiler
|
static void |
redirectStream(InputStream in,
OutputStream out,
String streamName)
This methos it's used to redirect an
InputeStream to a OutputStream |
getLog, isDebug, isFailOnError, setDebug, setFailOnError, setLogclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetDebug, setFailOnError, setLogpublic void invokeCompiler(String sourceDirectory, File[] includeDirs, String targetDirectory, String idlFile, Source source) throws org.apache.maven.plugin.MojoExecutionException
invokeCompiler in interface CompilerTranslatorsourceDirectory - the path to the sourcesincludeDirs - the File[] of directories where to find the includestargetDirectory - the path to the destination of the compilationidlFile - the path to the file to compilesource - //TODO ???org.apache.maven.plugin.MojoExecutionException - the exeception is thrown whenever the compilation fails or crashesCompilerTranslator#invokeCompiler(String, List, String, String, Source)public static void redirectStream(InputStream in, OutputStream out, String streamName)
InputeStream to a OutputStreamin - the InputStream to read fromout - the OutputStream to write intostreamName - the name of StreamCopyright © 2005-2012 Codehaus. All Rights Reserved.