| java.lang.Object org.acm.seguin.tools.stub.StubFile
StubFile | public class StubFile (Code) | | Holds a refactoring. Default version just pretty prints the file.
author: Chris Seguin author: Mike Atkinson version: $Id: StubFile.java,v 1.7 2003/10/30 15:24:23 mikeatkinson Exp $ |
StubFile | public StubFile(String init, File file)(Code) | | Refactors java code.
Parameters: init - Description of Parameter Parameters: file - Description of Parameter |
apply | public void apply(File inputFile)(Code) | | Create the stub for this file
Parameters: inputFile - the input file |
apply | public void apply(Reader inputStream, String filename)(Code) | | Create the stub for this file
Parameters: inputStream - the input stream Parameters: filename - the name of the file contained by the input stream |
done | public void done()(Code) | | Close the file and note that we have completed this operation
|
getOutputStream | protected Writer getOutputStream(File file)(Code) | | Create the output stream
Parameters: file - the name of the file the output stream |
getParserFactory | public ParserFactory getParserFactory()(Code) | | Return the factory that gets the abstract syntax trees
the parser factory |
setParserFactory | public void setParserFactory(ParserFactory factory)(Code) | | Set the parser factory
Parameters: factory - Description of Parameter |
waitForCreation | public static synchronized void waitForCreation()(Code) | | Wait while this is being created
|
|
|