Package spoon.processing
Interface FileGenerator<T extends CtElement>
- All Superinterfaces:
FactoryAccessor
,Processor<T>
- All Known Implementing Classes:
JavaOutputProcessor
This interface should be implemented by processing tasks that generate new
files as processing results. This interface is typically implemented by
processors that generate files during processing. For a given processing
environment, the default file generator is set to the default output directory
that is retrieved by using
Environment.getDefaultFileGenerator()
.-
Method Summary
Modifier and TypeMethodDescriptionGets the created files.Gets the root directory where files are created.Methods inherited from interface spoon.processing.FactoryAccessor
getFactory, setFactory
Methods inherited from interface spoon.processing.Processor
getEnvironment, getProcessedElementTypes, getTraversalStrategy, init, initProperties, interrupt, isToBeProcessed, process, process, processingDone
-
Method Details
-
getOutputDirectory
File getOutputDirectory()Gets the root directory where files are created. -
getCreatedFiles
Gets the created files.
-