org.eclipse.m2m.atl.engine
Class AtlCompiler

java.lang.Object
  extended by org.eclipse.m2m.atl.engine.AtlCompiler

public class AtlCompiler
extends java.lang.Object


Field Summary
protected static java.util.logging.Logger logger
           
 
Constructor Summary
AtlCompiler()
           
 
Method Summary
 org.eclipse.emf.ecore.EObject[] compile(java.io.InputStream in, org.eclipse.core.resources.IFile out)
           
 org.eclipse.emf.ecore.EObject[] compile(java.io.InputStream in, java.lang.String outputFileName)
          Standalone compilation.
static AtlCompiler getDefault()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static java.util.logging.Logger logger
Constructor Detail

AtlCompiler

public AtlCompiler()
Method Detail

getDefault

public static AtlCompiler getDefault()

compile

public org.eclipse.emf.ecore.EObject[] compile(java.io.InputStream in,
                                               org.eclipse.core.resources.IFile out)
Parameters:
in - The InputStream to get atl source from.
out - The IFile to which the ATL compiled program will be saved.
Returns:
the problems which occured during compilation

compile

public org.eclipse.emf.ecore.EObject[] compile(java.io.InputStream in,
                                               java.lang.String outputFileName)
Standalone compilation.

Parameters:
in - The InputStream to get atl source from.
outputFileName - The output file name
Returns:
the problems which occured during compilation

Copyright 2007 IBM Corporation and others.
All Rights Reserved.