uk.co.badgersinfoil.metaas
Interface ASProject


public interface ASProject


Method Summary
 void addCompilationUnit(CompilationUnit cu)
           
 java.util.List getCompilationUnits()
           
 java.lang.String getOutputLocation()
           
 CompilationUnit newClass(java.lang.String qualifiedClassName)
          Shortcode for ASSourceFactory.newClass(String) that also adds the resulting CompilationUnit to the list managed by this project.
 CompilationUnit newInterface(java.lang.String qualifiedClassName)
          Shortcode for ASSourceFactory.newInterface(String) that also adds the resulting CompilationUnit to the list managed by this project.
 void removeCompilationUnit(CompilationUnit cu)
           
 void setOutputLocation(java.lang.String outputLocation)
           
 void writeAll()
          Writes all CompilationUnits that have been added to this project to the output location.
 

Method Detail

setOutputLocation

void setOutputLocation(java.lang.String outputLocation)

getOutputLocation

java.lang.String getOutputLocation()

addCompilationUnit

void addCompilationUnit(CompilationUnit cu)

removeCompilationUnit

void removeCompilationUnit(CompilationUnit cu)

getCompilationUnits

java.util.List getCompilationUnits()

newClass

CompilationUnit newClass(java.lang.String qualifiedClassName)
Shortcode for ASSourceFactory.newClass(String) that also adds the resulting CompilationUnit to the list managed by this project.


newInterface

CompilationUnit newInterface(java.lang.String qualifiedClassName)
Shortcode for ASSourceFactory.newInterface(String) that also adds the resulting CompilationUnit to the list managed by this project.


writeAll

void writeAll()
              throws java.io.IOException
Writes all CompilationUnits that have been added to this project to the output location.

Throws:
java.io.IOException


Copyright © 2006 null. All Rights Reserved.