org.codehaus.mojo.idlj
Class JacorbTranslator
java.lang.Object
org.codehaus.mojo.idlj.AbstractTranslator
org.codehaus.mojo.idlj.JacorbTranslator
- All Implemented Interfaces:
- CompilerTranslator
public class JacorbTranslator
- extends AbstractTranslator
- implements CompilerTranslator
This class implement the CompilerTranslator
for the JacORB IDL compiler
- Version:
- $Id: JacorbTranslator.java 9344 2009-04-03 22:25:02Z aheritier $
- Author:
- Anders Hessellund Jensen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JacorbTranslator
public JacorbTranslator()
- Default constructor
invokeCompiler
public void invokeCompiler(String sourceDirectory,
File[] includeDirs,
String targetDirectory,
String idlFile,
Source source)
throws org.apache.maven.plugin.MojoExecutionException
- This method it's used to invoke the compiler
- Specified by:
invokeCompiler
in interface CompilerTranslator
- Parameters:
sourceDirectory
- 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 ???
- Throws:
org.apache.maven.plugin.MojoExecutionException
- the exeception is thrown whenever the compilation fails or crashes- See Also:
CompilerTranslator#invokeCompiler(String, List, String, String, Source)
redirectStream
public static void redirectStream(InputStream in,
OutputStream out,
String streamName)
- This methos it's used to redirect an
InputeStream
to a OutputStream
- Parameters:
in
- the InputStream
to read fromout
- the OutputStream
to write intostreamName
- the name of Stream
Copyright © 2005-2012 Codehaus. All Rights Reserved.