|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.atl.engine.compiler.AtlCompiler
public final class AtlCompiler
The ATL compiler.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_COMPILER_NAME
The default ATL compiler. |
Method Summary | |
---|---|
static org.eclipse.emf.ecore.EObject[] |
compile(java.io.InputStream in,
org.eclipse.core.resources.IFile out)
Performs compilation. |
static org.eclipse.emf.ecore.EObject[] |
compile(java.io.InputStream in,
java.io.OutputStream outputStream)
Standalone compilation, to an outputStream. |
static org.eclipse.emf.ecore.EObject[] |
compile(java.io.InputStream in,
java.lang.String outputFileName)
Standalone compilation. |
static AtlStandaloneCompiler |
getCompiler(java.lang.String compilerName)
Searches for the correct implementation of AtlStandaloneCompiler which is independent of
Eclipse platform stuff like IFile, IResource, etc. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_COMPILER_NAME
Method Detail |
---|
public static AtlStandaloneCompiler getCompiler(java.lang.String compilerName)
AtlStandaloneCompiler
which is independent of
Eclipse platform stuff like IFile, IResource, etc.
compilerName
- name of the compiler to search for
public static org.eclipse.emf.ecore.EObject[] compile(java.io.InputStream in, org.eclipse.core.resources.IFile out) throws java.io.IOException
in
- The InputStream to get atl source from.out
- The IFile to which the ATL compiled program will be saved.
java.io.IOException
public static org.eclipse.emf.ecore.EObject[] compile(java.io.InputStream in, java.lang.String outputFileName) throws java.io.IOException
in
- The InputStream to get atl source from.outputFileName
- The output file name
java.io.IOException
public static org.eclipse.emf.ecore.EObject[] compile(java.io.InputStream in, java.io.OutputStream outputStream) throws java.io.IOException
in
- The InputStream to get atl source from.outputStream
- The output file name
java.io.IOException
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |